Merge pull request #21485 from FHenry/15_fix_bad_amount_count

15 fix bad amount count
This commit is contained in:
Laurent Destailleur 2022-07-10 18:15:53 +02:00 committed by GitHub
commit 2a9aac930e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1165,6 +1165,7 @@ function getCustomerInvoiceUnpaidOpenTable($maxCount = 500, $socid = 0)
$i++;
$total += $obj->total_ht;
$total_ttc += $obj->total_ttc;
$totalam += $obj->am;
continue;
}