FIX : useless code

This commit is contained in:
Gauthier PC portable 024 2023-02-20 12:33:44 +01:00
parent 8534a96981
commit 34625d19fd
2 changed files with 0 additions and 8 deletions

View File

@ -315,10 +315,6 @@ if ($id > 0 || !empty($ref)) {
while ($i < min($num, $limit)) {
$objp = $db->fetch_object($result);
if ($objp->type == Facture::TYPE_CREDIT_NOTE) {
$objp->qty = -($objp->qty);
}
$total_ht += $objp->total_ht;
$total_qty += $objp->qty;

View File

@ -314,10 +314,6 @@ if ($id > 0 || !empty($ref)) {
while ($i < min($num, $limit)) {
$objp = $db->fetch_object($result);
if ($objp->type == Facture::TYPE_CREDIT_NOTE) {
$objp->qty = -($objp->qty);
}
$total_ht += $objp->total_ht;
$total_qty += $objp->qty;