Fix warnings
This commit is contained in:
parent
4cd799adfa
commit
041dd55cdc
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue