Correction erreur calcul des sommes dans update_price

La prochaine fois je test plsu finnement, grrr
This commit is contained in:
Rodolphe Quiedeville 2003-06-28 16:19:59 +00:00
parent bf48b0c112
commit 6675bf1d54

View File

@ -223,8 +223,8 @@ class Propal
{
$obj = $this->db->fetch_object($i);
$totalht = $totalht + $obj->price;
$totaltva = tva($totalht, $obj->tva_tx);
$totalht = $totalht + ($obj->qty * $obj->price);
$totaltva = $totaltva + (tva(($obj->qty * $obj->price), $obj->tva_tx));
$i++;
}