diff --git a/ReportImp/SHKService/Invoicing/CollectiveInvoiceCreation.cs b/ReportImp/SHKService/Invoicing/CollectiveInvoiceCreation.cs index 1b69db3e5..5f5604353 100644 --- a/ReportImp/SHKService/Invoicing/CollectiveInvoiceCreation.cs +++ b/ReportImp/SHKService/Invoicing/CollectiveInvoiceCreation.cs @@ -94,7 +94,7 @@ namespace SHKService.Invoicing }; if (supportConceptApprovalPeriod.ServiceCategory.Name == "Fahrzeit") { - if (cb2sc.SupportConcept.Customer.Person.LastNameFirstName.Contains("(ka)")) + if (cb2sc.SupportConcept.Customer.Person.LastNameFirstName.ToLower().Contains("(ka")) { ii.AmountPerUnit = supportConceptApprovalPeriod.ApprovedBEPerInterval * AMOUNT_PER_KMKA; ii.ItemDescription = "Fahrzeiten KA"; @@ -108,7 +108,7 @@ namespace SHKService.Invoicing else { ii.AmountPerUnit = supportConceptApprovalPeriod.ApprovedBEPerInterval * (decimal)Math.Round((double)data[0].AmountTotal / 60, 4, MidpointRounding.AwayFromZero); - if (!cb2sc.SupportConcept.Customer.Person.LastNameFirstName.Contains("(ka)")) + if (!cb2sc.SupportConcept.Customer.Person.LastNameFirstName.ToLower().Contains("(ka")) { var LG = (decimal)GetLeistungsgruppe(supportConceptApprovalPeriod.ApprovedBEPerInterval); if (data.Count > 0 && data[0].AmountTotal != null) @@ -119,7 +119,7 @@ namespace SHKService.Invoicing ii.ItemDescription = "Qualifizierte Assistenz"; ii.Notice = LG.ToString(); } - if (cb2sc.SupportConcept.Customer.Person.LastNameFirstName.Contains("(ka)")) + if (cb2sc.SupportConcept.Customer.Person.LastNameFirstName.ToLower().Contains("(ka")) { ii.ItemDescription = "Kompensatorische Assistenz"; }