Completely remove all section descriptions and references

- 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
This commit is contained in:
Frank Cools 2025-10-07 20:12:22 +02:00
parent 8a498cb3f5
commit f7e90c59b6
2 changed files with 4 additions and 4 deletions

View File

@ -156,7 +156,7 @@ foreach ($lines_by_section as $section_code => $lines) {
// Section header
print '<div class="titre">' . $section_info['title'] . '</div>';
print '<div class="info">' . $section_info['description'] . '</div>';
if (isset($section_info['notice'])) {
if (isset($section_info['notice']) && !empty($section_info['notice'])) {
print '<div class="info"><strong>Référence:</strong> ' . $section_info['notice'] . '</div>';
}

View File

@ -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' => ''
)
);