Add unique identifier to debug messages

- Added *** NEW LOGIC *** to debug messages
- This will help identify if the new code is actually being executed
- Should show if there are multiple code paths or caching issues
This commit is contained in:
Frank Cools 2025-10-07 15:21:19 +02:00
parent 0d37fc00aa
commit 40fa2b2f73

View File

@ -2083,8 +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: *** NEW LOGIC *** Creating 4455100 entry with amount: " . abs($rounded_amount));
error_log("DeclarationTVA: Creating 758000 entry with amount: " . abs($rounding_diff)); error_log("DeclarationTVA: *** NEW LOGIC *** Creating 758000 entry with amount: " . abs($rounding_diff));
// Rounded difference on 4455100 // Rounded difference on 4455100
$balancing_entries[] = array( $balancing_entries[] = array(