From 03e6bafa536105b1e4b3c63fc2043093ba0306cc Mon Sep 17 00:00:00 2001 From: Frank Cools Date: Thu, 2 Oct 2025 22:48:51 +0200 Subject: [PATCH] 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 --- declarationtva_view.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/declarationtva_view.php b/declarationtva_view.php index 1e3aacd..fc8ce42 100644 --- a/declarationtva_view.php +++ b/declarationtva_view.php @@ -103,28 +103,6 @@ print '' . $langs->trans("CreatedDate") . ''; print '' . dol_print_date($declarationtva->created_date, 'dayhour') . ''; print ''; -// Add totals section -print ''; -print '' . $langs->trans("TotalVATCollected") . ''; -print '' . price($declarationtva->total_vat_collected) . ''; -print ''; - -print ''; -print '' . $langs->trans("TotalVATDeductible") . ''; -print '' . price($declarationtva->total_vat_deductible) . ''; -print ''; - -print ''; -print '' . $langs->trans("NetVATDue") . ''; -print '' . price($declarationtva->net_vat_due) . ''; -print ''; - -if ($declarationtva->vat_credit > 0) { - print ''; - print '' . $langs->trans("VATCredit") . ''; - print '' . price($declarationtva->vat_credit) . ''; - print ''; -} print ''; print '';