diff --git a/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj b/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj
index fdfc3ffc9..9de35a89d 100644
--- a/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj
+++ b/ReportImp/LebenszentrumKönigsborn/LebenszentrumKoenigsborn.csproj
@@ -43,6 +43,8 @@
+
+
diff --git a/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs b/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs
index 3b5e63870..54b378cc1 100644
--- a/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs
+++ b/ReportImp/LebenszentrumKönigsborn/Service/CustomStundenuebersichtAuswertung.cs
@@ -2,6 +2,7 @@
using BeWo.Data.Entities;
using BeWo.Service.Plugins;
using BS.Shared.DataContracts;
+using BS.Shared.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -54,6 +55,13 @@ namespace LebenszentrumKoenigsborn.Service
{
foreach (var sc in group.SupportConcepts)
{
+ if (sc.ServiceRecords != null)
+ {
+ var ausfalltermine = sc.ServiceRecords.Where(s => s.ServiceDescription.CategoryName.Trim().Contains("Ausfalltermin")).ToList();
+ if (ausfalltermine != null)
+ sc.ServiceRecords.RemoveRange(ausfalltermine);
+ }
+
foreach (var sr in sc.ServiceRecords)
{
if (sr.GroupOid == null)
@@ -61,7 +69,7 @@ namespace LebenszentrumKoenigsborn.Service
else
{
var srgroup = DAOFactory.GenericDAO.GetByID(sr.GroupOid.Value);
- sr.RoundedDuration = (srgroup.RoundedDuration * srgroup.CustomerCount) / srgroup.EmployeeCount ;
+ sr.RoundedDuration = (srgroup.RoundedDuration * srgroup.CustomerCount) / srgroup.EmployeeCount;
}
}
}