Correction erreur calcul des sommes dans update_price
La prochaine fois je test plsu finnement, grrr
This commit is contained in:
parent
bf48b0c112
commit
6675bf1d54
@ -223,8 +223,8 @@ class Propal
|
|||||||
{
|
{
|
||||||
$obj = $this->db->fetch_object($i);
|
$obj = $this->db->fetch_object($i);
|
||||||
|
|
||||||
$totalht = $totalht + $obj->price;
|
$totalht = $totalht + ($obj->qty * $obj->price);
|
||||||
$totaltva = tva($totalht, $obj->tva_tx);
|
$totaltva = $totaltva + (tva(($obj->qty * $obj->price), $obj->tva_tx));
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user