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
This commit is contained in:
Frank Cools 2025-10-07 15:32:15 +02:00
parent 5e254515e1
commit ee0c0c4bdc

View File

@ -2089,12 +2089,12 @@ class DeclarationTVA_PDF
// Only real difference on 758000, no main balancing entry // Only real difference on 758000, no main balancing entry
if (abs($difference) >= 0.01) { 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( $balancing_entries[] = array(
'account_code' => '758000', 'account_code' => '4455100',
'account_label' => $this->getAccountLabel('758000'), 'account_label' => $this->getAccountLabel('4455100'),
'entry_label' => $declaration->declaration_name, 'entry_label' => $declaration->declaration_name,
'debit' => '', 'debit' => '',
'credit' => $this->formatAmountReal(abs($difference)) 'credit' => $this->formatAmountReal(abs($difference))