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