Clarify that rounding entries use real values (not rounded)
- Rounding entries (658000/758000) already use formatAmountReal() for real values - Added comment to clarify this behavior - Main balancing entry uses rounded VAT amount from TD line - Rounding entry uses real difference with decimals - Ensures proper accounting precision for rounding differences
This commit is contained in:
parent
8054e03026
commit
e4a940a1b4
@ -2096,7 +2096,7 @@ class DeclarationTVA_PDF
|
||||
);
|
||||
}
|
||||
|
||||
// Rounding entry for the remaining difference
|
||||
// Rounding entry for the remaining difference (use real value, not rounded)
|
||||
$remaining_diff = abs($difference) - $vat_td_amount;
|
||||
if ($remaining_diff >= 0.01) {
|
||||
if ($difference < 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user