From 81ef53569fbcdb2ebe8e4571a2948251d0f1992b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 14 Sep 2003 12:26:14 +0000 Subject: [PATCH] =?UTF-8?q?Mets=20=E0=20jour=20le=20total=5Fttc=20dans=20u?= =?UTF-8?q?pdateprice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/facture.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/facture.class.php b/htdocs/facture.class.php index 3d59fb59b32..1835a1c4a2b 100644 --- a/htdocs/facture.class.php +++ b/htdocs/facture.class.php @@ -493,9 +493,9 @@ class Facture } $this->db->free(); - $total_ttc = $total_ht + $total_tva; + $this->total_ttc = $total_ht + $total_tva; - $sql = "UPDATE llx_facture SET amount = $amount, remise=$total_remise, total=$total_ht, tva=$total_tva, total_ttc=$total_ttc"; + $sql = "UPDATE llx_facture SET amount = $amount, remise=$total_remise, total=$total_ht, tva=$total_tva, total_ttc=$this->total_ttc"; $sql .= " WHERE rowid = $facid ;"; if ( $this->db->query($sql) )