From f7e90c59b6ccfd190e8a4620740b47bdb5310a49 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Tue, 7 Oct 2025 20:12:22 +0200 Subject: [PATCH] Completely remove all section descriptions and references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove 'HT amounts of all taxable operations' description - Remove all section descriptions (A, B, D sections) - Fix 'Référence:' display to only show when notice is not empty - Clean up configuration page completely by removing all technical text - Simplify interface to show only section titles --- admin/setup_mvp.php | 2 +- core/class/declarationtva_config.class.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/setup_mvp.php b/admin/setup_mvp.php index 94dcb7c..83430a7 100644 --- a/admin/setup_mvp.php +++ b/admin/setup_mvp.php @@ -156,7 +156,7 @@ foreach ($lines_by_section as $section_code => $lines) { // Section header print '
' . $section_info['title'] . '
'; print '
' . $section_info['description'] . '
'; - if (isset($section_info['notice'])) { + if (isset($section_info['notice']) && !empty($section_info['notice'])) { print '
Référence: ' . $section_info['notice'] . '
'; } diff --git a/core/class/declarationtva_config.class.php b/core/class/declarationtva_config.class.php index bd65bd2..f90b7f8 100644 --- a/core/class/declarationtva_config.class.php +++ b/core/class/declarationtva_config.class.php @@ -461,17 +461,17 @@ class DeclarationTVA_Config return array( 'A' => array( 'title' => 'A. MONTANT DES OPÉRATIONS RÉALISÉES', - 'description' => 'HT amounts of all taxable operations', + 'description' => '', 'notice' => '' ), 'B' => array( 'title' => 'B. DÉCOMPTE DE LA TVA À PAYER', - 'description' => 'VAT amounts due, calculated on A1/A2 bases per applicable rate', + 'description' => '', 'notice' => '' ), 'D' => array( 'title' => 'D. RÉSULTAT', - 'description' => 'Final calculation: net VAT to pay or credit to carry forward', + 'description' => '', 'notice' => '' ) );