PerspektivenEV/Export/DatevExporterBthg - Bugfix

This commit is contained in:
2026-06-02 15:25:18 +02:00
parent 4cd80d7cd3
commit 88458c91c5

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(sc1 => sc1.CostBearer.Organisation.Name != "EIGENANTEIL" && sc1.CostBearer.Organisation.Name != "SELBSTZAHLER").FirstOrDefault();
var cb2sc = sc.CostBearer2SupportConceptList.Where(s => s.CostBearer.Organisation.Name != "EIGENANTEIL" && s.CostBearer.Organisation.Name != "SELBSTZAHLER").FirstOrDefault();
if (cb2sc != null && cb2sc.KontoHilfeplan != null && cb2sc.KontoHilfeplan.Length > 0)
{
debitor = cb2sc.KontoHilfeplan;