From 041dd55cdcc1d204bf250b0475815dc79abb755f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 26 Sep 2024 03:25:12 +0200 Subject: [PATCH] Fix warnings --- htdocs/compta/prelevement/factures.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php index 45bd1adb550..360bd4a244f 100644 --- a/htdocs/compta/prelevement/factures.php +++ b/htdocs/compta/prelevement/factures.php @@ -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 "\n";