From b2a24860dfb4e42f1b4ba2fd5736ac94acc1bec8 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 30 Aug 2003 12:03:46 +0000 Subject: [PATCH] Gestion des differents taux de tva dans les produits generiques --- htdocs/propal.class.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/propal.class.php3 b/htdocs/propal.class.php3 index d8bbe46d66a..cd3ae91e5f9 100644 --- a/htdocs/propal.class.php3 +++ b/htdocs/propal.class.php3 @@ -98,7 +98,7 @@ class Propal { $p_price = ereg_replace(",",".",$p_price); $sql = "INSERT INTO llx_propaldet (fk_propal, fk_product, qty, price, tva_tx, description) VALUES "; - $sql .= " (".$this->id.", 0,". $p_qty.",". $p_price.",19.6,'".$p_desc."') ; "; + $sql .= " (".$this->id.", 0,". $p_qty.",". $p_price.",".$p_tva_tx.",'".$p_desc."') ; "; if ($this->db->query($sql) ) {