From ee0c0c4bdc28d5be232503f191977c32e01e1c7d Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Tue, 7 Oct 2025 15:32:15 +0200 Subject: [PATCH] Change account from 758000 to 4455100 - Changed account code from 758000 to 4455100 - Updated debug message to reflect correct account - Should now show 4455100 with 0.90 for example 1 - Single entry with correct account as requested --- core/class/declarationtva_pdf.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index 23bd74c..b798c98 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -2089,12 +2089,12 @@ class DeclarationTVA_PDF // Only real difference on 758000, no main balancing entry if (abs($difference) >= 0.01) { - error_log("DeclarationTVA: *** SINGLE ENTRY *** Creating 758000 entry with real difference: " . $difference); + error_log("DeclarationTVA: *** SINGLE ENTRY *** Creating 4455100 entry with real difference: " . $difference); - // Only real difference on 758000 + // Only real difference on 4455100 $balancing_entries[] = array( - 'account_code' => '758000', - 'account_label' => $this->getAccountLabel('758000'), + 'account_code' => '4455100', + 'account_label' => $this->getAccountLabel('4455100'), 'entry_label' => $declaration->declaration_name, 'debit' => '', 'credit' => $this->formatAmountReal(abs($difference))