Fix horizontal centering for all columns except declaration number

Alignment Fix:
- Declaration number: left-aligned (no class)
- Period dates: center-aligned
- Status: center-aligned
- Net VAT Due: center-aligned
- Actions: center-aligned

All columns except declaration number are now horizontally centered!
This commit is contained in:
Frank Cools 2025-10-02 20:12:07 +02:00
parent b0ed6a2131
commit 14609bab63

View File

@ -128,10 +128,10 @@ if (empty($declarations)) {
foreach ($declarations as $d) {
print '<tr>';
print '<td class="center">' . $d['declaration_number'] . '</td>';
print '<td>' . $d['declaration_number'] . '</td>';
print '<td class="center">' . dol_print_date($d['start_date'], 'day') . ' - ' . dol_print_date($d['end_date'], 'day') . '</td>';
print '<td class="center">' . $langs->trans("Status" . ucfirst($d['status'])) . '</td>';
print '<td class="right">' . price($d['net_vat_due']) . '</td>';
print '<td class="center">' . price($d['net_vat_due']) . '</td>';
print '<td class="center">';
if ($d['status'] == 'draft') {