From 8524ff24aeec8761f9c098ce1c66642dee012399 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Thu, 2 Oct 2025 21:53:48 +0200 Subject: [PATCH] Remove extra header and right-align value column titles Fixed: - Removed extra header line above section A - Right-aligned all value column titles (Amount, Base Amount, VAT Amount) - Professional look with consistent alignment - Table now starts directly with section A header --- declarationtva_view.php | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/declarationtva_view.php b/declarationtva_view.php index 5114fb3..87a17b6 100644 --- a/declarationtva_view.php +++ b/declarationtva_view.php @@ -135,12 +135,6 @@ print '
' . $langs->trans("CA3Amounts") . '
'; print ''; -print ''; -print ''; -print ''; -print ''; -print ''; - // Get actual CA-3 lines from database $ca3_lines = $declarationtva->getCA3Lines($id); @@ -161,7 +155,7 @@ print ''; print ''; print ''; print ''; -print ''; +print ''; print ''; $section_a_lines = array('A1', 'A2', 'A3', 'A4', 'A5'); @@ -188,8 +182,8 @@ print ''; print ''; print ''; print ''; -print ''; -print ''; +print ''; +print ''; print ''; $base_vat_lines = array('08', '09', '9B'); @@ -208,7 +202,7 @@ foreach ($base_vat_lines as $line) { print ''; print ''; print ''; -print ''; +print ''; print ''; $data = isset($ca3_data['17']) ? $ca3_data['17'] : array('line_label' => '', 'vat_amount' => 0); @@ -227,7 +221,7 @@ print ''; print ''; print ''; print ''; -print ''; +print ''; print ''; $section_c_lines = array('20', '21', '22'); @@ -249,7 +243,7 @@ print ''; print ''; print ''; print ''; -print ''; +print ''; print ''; $section_d_lines = array('25', '26', '28', '29');
' . $langs->trans("CA3Line") . '' . $langs->trans("Description") . '' . $langs->trans("Amount") . '
' . $langs->trans("CA3Line") . '' . $langs->trans("Description") . '' . $langs->trans("Amount") . '' . $langs->trans("Amount") . '
' . $langs->trans("CA3Line") . '' . $langs->trans("Description") . '' . $langs->trans("BaseAmount") . '' . $langs->trans("VATAmount") . '' . $langs->trans("BaseAmount") . '' . $langs->trans("VATAmount") . '
' . $langs->trans("CA3Line") . '' . $langs->trans("Description") . '' . $langs->trans("Amount") . '' . $langs->trans("Amount") . '
' . $langs->trans("CA3Line") . '' . $langs->trans("Description") . '' . $langs->trans("Amount") . '' . $langs->trans("Amount") . '
' . $langs->trans("CA3Line") . '' . $langs->trans("Description") . '' . $langs->trans("Amount") . '' . $langs->trans("Amount") . '