From e4a7182bb843303a959b5a570a32c3762f9d0d29 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 24 Nov 2003 10:14:19 +0000 Subject: [PATCH] Modif de la valeur de retour dans fetch_lignes et ajout d'info --- htdocs/commande/commande.class.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/htdocs/commande/commande.class.php b/htdocs/commande/commande.class.php index 4769d0a6293..2a131d97b53 100644 --- a/htdocs/commande/commande.class.php +++ b/htdocs/commande/commande.class.php @@ -459,11 +459,13 @@ class Commande $ligne->id = $objp->rowid; - $ligne->product_id = $objp->fk_product; - - $ligne->description = stripslashes($objp->description); - - $ligne->qty = $objp->qty; + $ligne->qty = $objp->qty; + $ligne->price = $objp->price; + $ligne->tva_tx = $objp->tva_tx; + $ligne->subprice = $objp->subprice; + $ligne->remise_percent = $objp->remise_percent; + $ligne->product_id = $objp->fk_product; + $ligne->description = stripslashes($objp->description); $this->lignes[$i] = $ligne; $i++; @@ -471,7 +473,7 @@ class Commande $this->db->free(); } - return $lignes; + return $this->lignes; } /** * Renvoie un tableau avec les livraison par ligne