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:
parent
6f0f348d5a
commit
909a309fe1
@ -397,7 +397,7 @@ class DeclarationTVA_PDF
|
||||
*/
|
||||
private function formatAmount($amount)
|
||||
{
|
||||
return number_format($amount, 2, ',', ' ');
|
||||
return number_format($amount, 0, ',', ' ');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user