Modif de la valeur de retour dans fetch_lignes et ajout d'info
This commit is contained in:
parent
e44b7b5827
commit
e4a7182bb8
@ -459,11 +459,13 @@ class Commande
|
|||||||
|
|
||||||
$ligne->id = $objp->rowid;
|
$ligne->id = $objp->rowid;
|
||||||
|
|
||||||
$ligne->product_id = $objp->fk_product;
|
$ligne->qty = $objp->qty;
|
||||||
|
$ligne->price = $objp->price;
|
||||||
$ligne->description = stripslashes($objp->description);
|
$ligne->tva_tx = $objp->tva_tx;
|
||||||
|
$ligne->subprice = $objp->subprice;
|
||||||
$ligne->qty = $objp->qty;
|
$ligne->remise_percent = $objp->remise_percent;
|
||||||
|
$ligne->product_id = $objp->fk_product;
|
||||||
|
$ligne->description = stripslashes($objp->description);
|
||||||
|
|
||||||
$this->lignes[$i] = $ligne;
|
$this->lignes[$i] = $ligne;
|
||||||
$i++;
|
$i++;
|
||||||
@ -471,7 +473,7 @@ class Commande
|
|||||||
$this->db->free();
|
$this->db->free();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $lignes;
|
return $this->lignes;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Renvoie un tableau avec les livraison par ligne
|
* Renvoie un tableau avec les livraison par ligne
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user