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:
parent
b0ed6a2131
commit
14609bab63
@ -128,10 +128,10 @@ if (empty($declarations)) {
|
|||||||
|
|
||||||
foreach ($declarations as $d) {
|
foreach ($declarations as $d) {
|
||||||
print '<tr>';
|
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">' . 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="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">';
|
print '<td class="center">';
|
||||||
|
|
||||||
if ($d['status'] == 'draft') {
|
if ($d['status'] == 'draft') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user