Fix warnings

This commit is contained in:
Laurent Destailleur 2024-09-26 03:25:12 +02:00
parent 4cd799adfa
commit 041dd55cdc

View file

@ -417,7 +417,7 @@ if ($resql) {
// If the page show all record (no pagination) and total does not match total of file, we show a warning. Should not happen.
if (($nbtotalofrecords <= $num) && $totalamount_requested != (float) $object->amount) {
$langs->load("errors");
print img_warning("WarningAmountOfFileDiffersFromSumOfLines", (float) $object->amount, $totalamount_requested);
print img_warning("WarningAmountOfFileDiffersFromSumOfLines", price((float) $object->amount), price($totalamount_requested));
}
print price($totalamount_requested);
print "</td>\n";