From 03884e83a397a64b7488f1daaf5f613a48c9e72b Mon Sep 17 00:00:00 2001 From: viehlieb Date: Thu, 12 Oct 2023 15:50:15 +0200 Subject: [PATCH] tiny change to summary.haml --- app/views/finance/balancing/_summary.haml | 2 +- config/locales/de.yml | 3 ++- .../balancing/_summary/replace_gross_amount.html.haml.deface | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/finance/balancing/_summary.haml b/app/views/finance/balancing/_summary.haml index 476c7091..92805ad2 100644 --- a/app/views/finance/balancing/_summary.haml +++ b/app/views/finance/balancing/_summary.haml @@ -10,7 +10,7 @@ %td= t('.gross_amount') %td.numeric= number_to_currency(order.sum(:gross)) %tr - %td= t('.fc_amount_total') + %td= t('.fc_amount') %td.numeric= number_to_currency(order.sum(:fc)) %tr %td= t('.groups_amount') diff --git a/config/locales/de.yml b/config/locales/de.yml index 1cae757a..65dd7061 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -860,7 +860,8 @@ de: summary: changed: Daten wurden verändert! duration: von %{starts} bis %{ends} - fc_amount: 'FC-Betrag:' + fc_amount: 'FC-Gesamtbetrag:' + fc_amount_without_deposit: 'FC-Betrag (ohne Pfand):' fc_profit: FC Gewinn gross_amount: 'Bruttobetrag:' groups_amount: 'Gruppenbeträge:' diff --git a/plugins/automatic_invoices/app/overrides/finance/balancing/_summary/replace_gross_amount.html.haml.deface b/plugins/automatic_invoices/app/overrides/finance/balancing/_summary/replace_gross_amount.html.haml.deface index e1963e4c..b0b86a4c 100644 --- a/plugins/automatic_invoices/app/overrides/finance/balancing/_summary/replace_gross_amount.html.haml.deface +++ b/plugins/automatic_invoices/app/overrides/finance/balancing/_summary/replace_gross_amount.html.haml.deface @@ -4,7 +4,7 @@ %td= t('.gross_amount') %td.numeric= number_to_currency(order.sum(:gross_without_deposit)) %tr - %td= t('.fc_amount') + %td= t('.fc_amount_without_deposit') %td.numeric= number_to_currency(order.sum(:fc_without_deposit)) %tr %td= t('.deposit')