Remove totals from page header

Removed:
- TotalVATCollected from page header
- TotalVATDeductible from page header
- NetVATDue from page header
- VATCredit from page header

The totals are now only shown in the CA-3 table sections where they belong
This commit is contained in:
Frank Cools 2025-10-02 22:48:51 +02:00
parent 893de77afc
commit 03e6bafa53

View File

@ -103,28 +103,6 @@ print '<td>' . $langs->trans("CreatedDate") . '</td>';
print '<td>' . dol_print_date($declarationtva->created_date, 'dayhour') . '</td>';
print '</tr>';
// Add totals section
print '<tr>';
print '<td><strong>' . $langs->trans("TotalVATCollected") . '</strong></td>';
print '<td><strong>' . price($declarationtva->total_vat_collected) . '</strong></td>';
print '</tr>';
print '<tr>';
print '<td><strong>' . $langs->trans("TotalVATDeductible") . '</strong></td>';
print '<td><strong>' . price($declarationtva->total_vat_deductible) . '</strong></td>';
print '</tr>';
print '<tr>';
print '<td><strong>' . $langs->trans("NetVATDue") . '</strong></td>';
print '<td><strong>' . price($declarationtva->net_vat_due) . '</strong></td>';
print '</tr>';
if ($declarationtva->vat_credit > 0) {
print '<tr>';
print '<td><strong>' . $langs->trans("VATCredit") . '</strong></td>';
print '<td><strong>' . price($declarationtva->vat_credit) . '</strong></td>';
print '</tr>';
}
print '</table>';
print '</div>';