commit
9a09949115
@ -142,7 +142,11 @@ class Facturation
|
|||||||
$this->montantRemise($montant_remise_ht);
|
$this->montantRemise($montant_remise_ht);
|
||||||
|
|
||||||
$newcartarray=$_SESSION['poscart'];
|
$newcartarray=$_SESSION['poscart'];
|
||||||
$i=count($newcartarray);
|
|
||||||
|
$i = 0;
|
||||||
|
if (!is_null($newcartarray) && !empty($newcartarray)) {
|
||||||
|
$i=count($newcartarray);
|
||||||
|
}
|
||||||
|
|
||||||
$newcartarray[$i]['id']=$i;
|
$newcartarray[$i]['id']=$i;
|
||||||
$newcartarray[$i]['ref']=$product->ref;
|
$newcartarray[$i]['ref']=$product->ref;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user