diff --git a/ReportImp/AuswegHeikePuetz/AuswegHeikePuetz.csproj b/ReportImp/AuswegHeikePuetz/AuswegHeikePuetz.csproj index 16c400d9a..114bb35ad 100644 --- a/ReportImp/AuswegHeikePuetz/AuswegHeikePuetz.csproj +++ b/ReportImp/AuswegHeikePuetz/AuswegHeikePuetz.csproj @@ -90,6 +90,7 @@ ServiceInvoiceReport.cs + Component @@ -142,5 +143,6 @@ Designer + \ No newline at end of file diff --git a/ReportImp/AuswegHeikePuetz/Service/CustomVacationService.cs b/ReportImp/AuswegHeikePuetz/Service/CustomVacationService.cs new file mode 100644 index 000000000..1894e525f --- /dev/null +++ b/ReportImp/AuswegHeikePuetz/Service/CustomVacationService.cs @@ -0,0 +1,23 @@ +using BeWo.Service.Plugins; +using BS.Shared.DataContracts; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Ausweg.Service +{ + public class CustomVacationService : VacationService + { + public override List GetFeiertage(int year, string bundesland) + { + var list = base.GetFeiertage(year, bundesland); + + if (year >= 2025) + list.Remove(list.FirstOrDefault(l => l.Name == "Heilig Abend")); + + return list; + } + } +}