Update facture.php
This commit is contained in:
parent
b2ec60d53b
commit
55bd67058b
@ -235,6 +235,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
{
|
{
|
||||||
$objp = $db->fetch_object($result);
|
$objp = $db->fetch_object($result);
|
||||||
|
|
||||||
|
if ($objp->type == '2') $objp->qty=-($objp->qty);
|
||||||
$total_ht+=$objp->total_ht;
|
$total_ht+=$objp->total_ht;
|
||||||
$total_qty+=$objp->qty;
|
$total_qty+=$objp->qty;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user