Merge pull request #23965 from atm-gauthier/NEW/17.0_objets_referents_lots

FIX : useless code
This commit is contained in:
Laurent Destailleur 2023-02-20 16:27:17 +01:00 committed by GitHub
commit a6656d1e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;