FeidPartnerReports/Statistics/CustomServiceRecordStatisticFactory.cs - keine Berücksichtigung Gruppenbuchungszeit für Zeiterfassung
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using BeWo.Data.Entities;
|
||||
using BeWo.Service.DCEntityMapper;
|
||||
using BeWo.Service.Plugins;
|
||||
using BS.Shared;
|
||||
@@ -73,7 +74,18 @@ namespace FeidPartnerReports.Statistics
|
||||
return stat;
|
||||
}
|
||||
|
||||
private bool EnthaeltEintraege(DateTime start, DateTime end, List<ServiceRecordDC> serviceRecords)
|
||||
protected override IEnumerable<ServiceRecord> GetServiceRecordsForStatistic(long costBearer2SupportConceptOid)
|
||||
{
|
||||
var allServiceRecords = base.GetServiceRecordsForStatistic(costBearer2SupportConceptOid);
|
||||
if (allServiceRecords != null && allServiceRecords.Count() > 0)
|
||||
{
|
||||
allServiceRecords = allServiceRecords.Where(s => !s.GroupOid.HasValue).ToList();
|
||||
}
|
||||
|
||||
return allServiceRecords;
|
||||
}
|
||||
|
||||
private bool EnthaeltEintraege(DateTime start, DateTime end, List<ServiceRecordDC> serviceRecords)
|
||||
{
|
||||
bool vorhandeneEintraege = false;
|
||||
if (serviceRecords != null && serviceRecords.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user