Add center alignment to table headers

Header Alignment:
- Declaration Number header: left-aligned (no class)
- Period header: center-aligned
- Status header: center-aligned
- Net VAT Due header: center-aligned
- Actions header: center-aligned

Both headers and data are now properly aligned!
This commit is contained in:
Frank Cools 2025-10-02 20:13:02 +02:00
parent 14609bab63
commit 91a176723f

View File

@ -120,10 +120,10 @@ if (empty($declarations)) {
print '<table class="noborder centpercent">';
print '<tr class="liste_titre">';
print '<th>' . $langs->trans("DeclarationNumber") . '</th>';
print '<th>' . $langs->trans("Period") . '</th>';
print '<th>' . $langs->trans("Status") . '</th>';
print '<th>' . $langs->trans("NetVATDue") . '</th>';
print '<th>' . $langs->trans("Actions") . '</th>';
print '<th class="center">' . $langs->trans("Period") . '</th>';
print '<th class="center">' . $langs->trans("Status") . '</th>';
print '<th class="center">' . $langs->trans("NetVATDue") . '</th>';
print '<th class="center">' . $langs->trans("Actions") . '</th>';
print '</tr>';
foreach ($declarations as $d) {