From b8adba6251cb8324f9ae3375dc6faaf8e55f385e Mon Sep 17 00:00:00 2001 From: Alexandra Date: Fri, 13 Mar 2026 13:39:13 +0100 Subject: [PATCH] =?UTF-8?q?HshCologne/Invoicing/CustomInvoiceCreation=20-?= =?UTF-8?q?=20Unterscheidung=20Qualifikation=20auch=20f=C3=BCr=20Wesseling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../HshCologne/Invoicing/CustomInvoiceCreation.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ReportImp/HshCologne/Invoicing/CustomInvoiceCreation.cs b/ReportImp/HshCologne/Invoicing/CustomInvoiceCreation.cs index e6ff502ba..824f4c05a 100644 --- a/ReportImp/HshCologne/Invoicing/CustomInvoiceCreation.cs +++ b/ReportImp/HshCologne/Invoicing/CustomInvoiceCreation.cs @@ -247,7 +247,7 @@ namespace HshCologne.Invoicing } // Da diverse Kostenträger liegen deren Stundensätze unter Preise - // Während Wesseling und Geilenkirchen für ALLES nur einen Stundensatz haben + // Während Wesseling und Geilenkirchen für (fast) ALLES nur einen Stundensatz haben // Und Erftstadt macht sowieso ALLES anders :D decimal stundensatz = 0; if (iServiceRecord.ServiceDescription.CategoryName == "FAM") @@ -262,6 +262,14 @@ namespace HshCologne.Invoicing if (iServiceRecord.CostBearer.Name.Contains("Wesseling")) { stundensatz = GetStundensatz(scap.CostBearer2SupportConcept, null, iServiceRecord.Start); + // AB, 13.03.2026: bisher nur der Stundensatz unter Organisation, jetzt erste Ausnahme -> eigene Quali dafür + var qOid = iServiceRecord.Employee.ValueListEntries + .Where(i => i.Value == ValueListEntryType.StaffQualificationsType).Select(i => i.Key).OrderByDescending(q => q).ToList(); + if (qOid.Any(q => q == 1477)) + { + stundensatz = preisAK; + ii.UnitDescription = "Assistenzkraft"; + } } // Erfstadt hat in der Familienhilfe teileweise noch den Sonderfall UMA, dort wird geringer bezahlt, Stundensatz nach Quali bei Organisation, sonst normal // Erftstadt hat keine SB