PerspektivenEV: Compile-Fehler behoben

This commit is contained in:
2026-05-29 20:33:39 +02:00
parent 52da8cf1fb
commit 729523389c

View File

@@ -229,7 +229,7 @@ namespace PerspektivenEV.Export
{
sc = scs.Where(p => p.StartDate < lastDate && p.EndDate > new DateTime(date.Year, date.Month, 1)).FirstOrDefault();
}
var cb2sc = sc.CostBearer2SupportConceptList.Where(sc => sc.CostBearer.Organisation.Name != "EIGENANTEIL" && sc.CostBearer.Organisation.Name != "SELBSTZAHLER").FirstOrDefault();
var cb2sc = sc.CostBearer2SupportConceptList.Where(sc1 => sc1.CostBearer.Organisation.Name != "EIGENANTEIL" && sc1.CostBearer.Organisation.Name != "SELBSTZAHLER").FirstOrDefault();
if (cb2sc != null && cb2sc.KontoHilfeplan != null && cb2sc.KontoHilfeplan.Length > 0)
{
debitor = cb2sc.KontoHilfeplan;