From f3e77e78079c6869a3a5de062a90f1a04fecde3c Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Mon, 15 Jun 2026 17:48:22 +0200 Subject: [PATCH] fix(accounting): label the outgoing-invoice totals block in the tax summary The summary card's top block (Total net/VAT/gross) is the outgoing-invoice totals but had no section header, unlike the 'Income / costs' block below. Add an 'Outgoing invoices' (de: 'Ausgangsrechnungen') header to match. --- frontend/src/i18n/locales/de.json | 1 + frontend/src/i18n/locales/en.json | 1 + frontend/src/pages/admin/clients/TaxReportPage.tsx | 3 +++ 3 files changed, 5 insertions(+) diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index 7290b523..bc7a7a9e 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -3951,6 +3951,7 @@ "costsTitle": "Kosten (Eingangsrechnungen + Spesen)", "costsDisclaimer": "Diese Einnahmen-Ausgaben-Übersicht ist eine Orientierungshilfe für Ihre Aufzeichnungen (Milchbüchleinrechnung). Vorsteuerabzug und Ergebnis hängen von der steuerlichen Behandlung jeder Kostenposition ab — vor der Einreichung mit Ihrem Treuhänder / der Steuerverwaltung prüfen.", "summary": { + "outgoingTitle": "Ausgangsrechnungen", "title": "Einnahmen / Ausgaben", "income": "Einnahmen", "costs": "Ausgaben", diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index c4abe0be..964d0704 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -3951,6 +3951,7 @@ "costsTitle": "Costs (incoming invoices + expenses)", "costsDisclaimer": "This income/expense overview is a guideline for your records (Einnahmen-Ausgaben-Rechnung). VAT reclaimability and the result figure depend on each cost’s tax treatment — verify with your Treuhänder / tax authority before filing.", "summary": { + "outgoingTitle": "Outgoing invoices", "title": "Income / costs", "income": "Income", "costs": "Costs", diff --git a/frontend/src/pages/admin/clients/TaxReportPage.tsx b/frontend/src/pages/admin/clients/TaxReportPage.tsx index d104d7f9..c9f2d4af 100644 --- a/frontend/src/pages/admin/clients/TaxReportPage.tsx +++ b/frontend/src/pages/admin/clients/TaxReportPage.tsx @@ -301,6 +301,9 @@ export const TaxReportPage: React.FC = () => { applicable. */} {hasAnyData && report && ( +

+ {t('taxReport.summary.outgoingTitle', 'Outgoing invoices')} +

{t('taxReport.grandTotalNet', 'Total net')}