Files
BeWoPlaner/ReportImp/AlzeyTeilhabe/Service/CustomServiceRecordStatisticFactory.cs
2025-08-06 06:44:59 +02:00

25 lines
769 B
C#

using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.Plugins;
using BS.Shared.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AlzeyTeilhabe.Service
{
public class CustomServiceRecordStatisticFactory : ServiceRecordStatisticFactory
{
protected override IEnumerable<ServiceRecord> GetServiceRecordsForStatistic(long costBearer2SupportConceptOid)
{
var list = DAOFactory.SearchDAO.FindServiceRecordsDetailsForLastDays(costBearer2SupportConceptOid, null);
list.RemoveRange(list.Where(sr => sr.ServiceDescription.Name.ToLower().Contains("wegepauschale (wp)")).ToList());
return list;
}
}
}