Gestion des differents taux de tva dans les produits generiques

This commit is contained in:
Rodolphe Quiedeville 2003-08-30 12:03:46 +00:00
parent 77b83effdf
commit b2a24860df

View File

@ -98,7 +98,7 @@ class Propal
{ {
$p_price = ereg_replace(",",".",$p_price); $p_price = ereg_replace(",",".",$p_price);
$sql = "INSERT INTO llx_propaldet (fk_propal, fk_product, qty, price, tva_tx, description) VALUES "; $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) ) if ($this->db->query($sql) )
{ {