diff --git a/core/class/declarationtva_pdf.class.php b/core/class/declarationtva_pdf.class.php index 64f2e30..6ad4fbb 100644 --- a/core/class/declarationtva_pdf.class.php +++ b/core/class/declarationtva_pdf.class.php @@ -2129,17 +2129,8 @@ class DeclarationTVA_PDF return $obj->label; } - // Fallback to default labels - switch ($account_code) { - case '4456700': - return 'TVA à payer'; - case '658000': - return 'Charges exceptionnelles'; - case '758000': - return 'Produits exceptionnels'; - default: - return 'Compte ' . $account_code; - } + // If account not found in chart of accounts, return generic label + return 'Compte ' . $account_code; } /**