PerspektivenEV/Export/DatevExporterBthg - Bugfix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user