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";