Format PDF numbers without decimals

- Updated formatAmount() method to use 0 decimal places instead of 2
- All amounts in PDF will now display as whole numbers (e.g., 1 958 instead of 1 958,00)
- Maintains French number formatting with comma as decimal separator and space as thousands separator
This commit is contained in:
Frank Cools 2025-10-03 13:37:57 +02:00
parent 6f0f348d5a
commit 909a309fe1

View File

@ -397,7 +397,7 @@ class DeclarationTVA_PDF
*/
private function formatAmount($amount)
{
return number_format($amount, 2, ',', ' ');
return number_format($amount, 0, ',', ' ');
}
/**