diff --git a/ReportImp/LebenshilfeBadKreuznachWohnstaette/ServiceInvoiceReport.cs b/ReportImp/LebenshilfeBadKreuznachWohnstaette/ServiceInvoiceReport.cs index f071b65ee..4178ad0b2 100644 --- a/ReportImp/LebenshilfeBadKreuznachWohnstaette/ServiceInvoiceReport.cs +++ b/ReportImp/LebenshilfeBadKreuznachWohnstaette/ServiceInvoiceReport.cs @@ -28,11 +28,11 @@ namespace LebenshilfeBadKreuznachWohnstaette if (pRO.ServiceInvoicePeriods != null) { - if (pRO.ServiceInvoicePeriods.Any(s => (s.SupportConceptApprovalPeriod.ServiceCategory?.Name.ToLower() ?? "").Contains("tagesstruktur"))) + if (pRO.ServiceInvoicePeriods.Any(s => (s.SupportConceptApprovalPeriod?.ServiceCategory?.Name.ToLower() ?? "").Contains("tagesstruktur"))) { lblTSA.Visible = true; } - if (selbstzahler && pRO.ServiceInvoicePeriods.Any(s => (s.SupportConceptApprovalPeriod.ServiceCategory?.Name.ToLower() ?? "").Contains("einzelfallhilfe"))) + if (selbstzahler && pRO.ServiceInvoicePeriods.Any(s => (s.SupportConceptApprovalPeriod?.ServiceCategory?.Name.ToLower() ?? "").Contains("einzelfallhilfe"))) { lblTSA.Visible = true; lblTSA.Text = "Einzelfallhilfe / Mehrbedarf [AccountingPeriodEnd!dd.MM.yyyy]";