From b0ed6a2131531fdaaacc83e78be629a20d427a85 Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Thu, 2 Oct 2025 20:11:02 +0200 Subject: [PATCH] Fix table cell alignment for consistent vertical centering UI Fix: - Added center alignment to all table cells - Date range now properly centered vertically - Declaration number, status, and actions centered - Net VAT Due right-aligned (standard for monetary values) - Consistent alignment across all columns All table content is now properly aligned! --- declarationtvaindex.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/declarationtvaindex.php b/declarationtvaindex.php index 647ae83..42751ee 100644 --- a/declarationtvaindex.php +++ b/declarationtvaindex.php @@ -128,11 +128,11 @@ if (empty($declarations)) { foreach ($declarations as $d) { print ''; - print '' . $d['declaration_number'] . ''; - print '' . dol_print_date($d['start_date'], 'day') . ' - ' . dol_print_date($d['end_date'], 'day') . ''; - print '' . $langs->trans("Status" . ucfirst($d['status'])) . ''; - print '' . price($d['net_vat_due']) . ''; - print ''; + print '' . $d['declaration_number'] . ''; + print '' . dol_print_date($d['start_date'], 'day') . ' - ' . dol_print_date($d['end_date'], 'day') . ''; + print '' . $langs->trans("Status" . ucfirst($d['status'])) . ''; + print '' . price($d['net_vat_due']) . ''; + print ''; if ($d['status'] == 'draft') { print '' . $langs->trans("Validate") . '';