From 62a0b5dba203480049034be682cceb357a4d771d Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Tue, 7 Oct 2025 20:14:31 +0200 Subject: [PATCH] Remove D section from configuration page - Remove D section (calculated lines) from configuration interface - Remove D section from section headers configuration - Simplify configuration page by removing unnecessary calculated section - Clean up interface to show only configurable sections (A and B) --- admin/setup_mvp.php | 1 - core/class/declarationtva_config.class.php | 5 ----- 2 files changed, 6 deletions(-) diff --git a/admin/setup_mvp.php b/admin/setup_mvp.php index 87ef5fa..d4df487 100644 --- a/admin/setup_mvp.php +++ b/admin/setup_mvp.php @@ -164,7 +164,6 @@ foreach ($lines_by_section as $section_code => $lines) { // Skip D-section lines (25, 26, 28, 29) as they are calculated if ($section_code == 'D') { - print '
Note: Les lignes de la section D sont calculées automatiquement à partir des autres sections.
'; continue; } diff --git a/core/class/declarationtva_config.class.php b/core/class/declarationtva_config.class.php index f90b7f8..2229c52 100644 --- a/core/class/declarationtva_config.class.php +++ b/core/class/declarationtva_config.class.php @@ -468,11 +468,6 @@ class DeclarationTVA_Config 'title' => 'B. DÉCOMPTE DE LA TVA À PAYER', 'description' => '', 'notice' => '' - ), - 'D' => array( - 'title' => 'D. RÉSULTAT', - 'description' => '', - 'notice' => '' ) ); }