Update facture.php

This commit is contained in:
ptibogxiv 2019-08-06 16:47:54 +02:00 committed by GitHub
parent ee8d99351d
commit 0fc92b92a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,7 +235,7 @@ if ($id > 0 || ! empty($ref))
{
$objp = $db->fetch_object($result);
if ($objp->type == Facture::TYPE_CREDIT_NOTE) $objp->qty=-($objp->qty);
if ($objp->type == Facture::TYPE_CREDIT_NOTE) $objp->qty=-($objp->qty);
$total_ht+=$objp->total_ht;
$total_qty+=$objp->qty;