Add debugging to trace entry creation
- Added debug logging to see what amounts are being created - Cleared caches and reset OPcache - Should help identify if the new logic is being executed - Will show exactly what values are being put in the journal table
This commit is contained in:
parent
00add0de70
commit
0d37fc00aa
@ -2083,6 +2083,8 @@ class DeclarationTVA_PDF
|
|||||||
$rounding_diff = $difference - $rounded_amount;
|
$rounding_diff = $difference - $rounded_amount;
|
||||||
|
|
||||||
error_log("DeclarationTVA: Difference: " . $difference . ", Rounded: " . $rounded_amount . ", Rounding diff: " . $rounding_diff);
|
error_log("DeclarationTVA: Difference: " . $difference . ", Rounded: " . $rounded_amount . ", Rounding diff: " . $rounding_diff);
|
||||||
|
error_log("DeclarationTVA: Creating 4455100 entry with amount: " . abs($rounded_amount));
|
||||||
|
error_log("DeclarationTVA: Creating 758000 entry with amount: " . abs($rounding_diff));
|
||||||
|
|
||||||
// Rounded difference on 4455100
|
// Rounded difference on 4455100
|
||||||
$balancing_entries[] = array(
|
$balancing_entries[] = array(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user