From 40fa2b2f73a192e5d54266fbd4405fd9e82fa605 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Tue, 7 Oct 2025 15:21:19 +0200 Subject: [PATCH] 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 --- core/class/declarationtva_pdf.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index cdc3cf0..7dff3ac 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -2083,8 +2083,8 @@ class DeclarationTVA_PDF $rounding_diff = $difference - $rounded_amount; 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)); + error_log("DeclarationTVA: *** NEW LOGIC *** Creating 4455100 entry with amount: " . abs($rounded_amount)); + error_log("DeclarationTVA: *** NEW LOGIC *** Creating 758000 entry with amount: " . abs($rounding_diff)); // Rounded difference on 4455100 $balancing_entries[] = array(