From dff6786c74938db0dddf2ce835c928cd409caac6 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Wed, 5 Jan 2022 17:40:23 +0100 Subject: [PATCH] Lebenswert --- ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHI.cs | 2 +- ReportImp/LebensWert/Invoicing/CustomInvoiceFactory.cs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHI.cs b/ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHI.cs index 6367f869a..9e3148451 100644 --- a/ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHI.cs +++ b/ReportImp/LebensWert/Invoicing/CustomInvoiceCreationHI.cs @@ -130,7 +130,7 @@ namespace LebensWert.Invoicing if (cat == "Fachleistungsstunde") { - invoiceItem.ItemDescription = "Direkte Leistungen"; + invoiceItem.ItemDescription = "face-to-face"; invoiceItem.UnitDescription = "Fachleistungsstunde (FLS)"; } else if (cat == "Fahrtkosten") diff --git a/ReportImp/LebensWert/Invoicing/CustomInvoiceFactory.cs b/ReportImp/LebensWert/Invoicing/CustomInvoiceFactory.cs index 46bbd764b..1ca8b2464 100644 --- a/ReportImp/LebensWert/Invoicing/CustomInvoiceFactory.cs +++ b/ReportImp/LebensWert/Invoicing/CustomInvoiceFactory.cs @@ -22,9 +22,13 @@ namespace LebensWert.Invoicing { return new CustomInvoiceCreationNI(); } + else if (csc.CostBearer.Contains("Hildesheim")) + { + return new CustomInvoiceCreationHI(); + } } - return new CustomInvoiceCreationHI(); + return new InvoiceCreation(); } } }