Improve declaration list layout by consolidating period information
UI Improvement: - Removed separate Start Date and End Date columns - Combined period information into single Period column - Period column now shows: period name + date range - Cleaner, more compact table layout - Better use of screen space The declaration list is now more streamlined and easier to read!
This commit is contained in:
parent
3fc6d1a3f2
commit
522c94093d
@ -118,8 +118,6 @@ if (empty($declarations)) {
|
||||
print '<tr class="liste_titre">';
|
||||
print '<th>' . $langs->trans("DeclarationNumber") . '</th>';
|
||||
print '<th>' . $langs->trans("Period") . '</th>';
|
||||
print '<th>' . $langs->trans("StartDate") . '</th>';
|
||||
print '<th>' . $langs->trans("EndDate") . '</th>';
|
||||
print '<th>' . $langs->trans("Status") . '</th>';
|
||||
print '<th>' . $langs->trans("NetVATDue") . '</th>';
|
||||
print '<th>' . $langs->trans("Actions") . '</th>';
|
||||
@ -128,9 +126,7 @@ if (empty($declarations)) {
|
||||
foreach ($declarations as $d) {
|
||||
print '<tr>';
|
||||
print '<td>' . $d['declaration_number'] . '</td>';
|
||||
print '<td>' . $d['period_name'] . '</td>';
|
||||
print '<td>' . dol_print_date($d['start_date'], 'day') . '</td>';
|
||||
print '<td>' . dol_print_date($d['end_date'], 'day') . '</td>';
|
||||
print '<td>' . $d['period_name'] . '<br><small>' . dol_print_date($d['start_date'], 'day') . ' - ' . dol_print_date($d['end_date'], 'day') . '</small></td>';
|
||||
print '<td>' . $langs->trans("Status" . ucfirst($d['status'])) . '</td>';
|
||||
print '<td>' . price($d['net_vat_due']) . '</td>';
|
||||
print '<td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user