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!
This commit is contained in:
parent
8ca44e5486
commit
b0ed6a2131
@ -128,11 +128,11 @@ if (empty($declarations)) {
|
||||
|
||||
foreach ($declarations as $d) {
|
||||
print '<tr>';
|
||||
print '<td>' . $d['declaration_number'] . '</td>';
|
||||
print '<td>' . dol_print_date($d['start_date'], 'day') . ' - ' . dol_print_date($d['end_date'], 'day') . '</td>';
|
||||
print '<td>' . $langs->trans("Status" . ucfirst($d['status'])) . '</td>';
|
||||
print '<td>' . price($d['net_vat_due']) . '</td>';
|
||||
print '<td>';
|
||||
print '<td class="center">' . $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">';
|
||||
|
||||
if ($d['status'] == 'draft') {
|
||||
print '<a href="' . $_SERVER['PHP_SELF'] . '?action=validate_declaration&declaration_id=' . $d['rowid'] . '&token=' . newToken() . '" class="butAction">' . $langs->trans("Validate") . '</a>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user