diff --git a/ReportImp/PaSMoenchengladbach/Service/CustomVacationService.cs b/ReportImp/PaSMoenchengladbach/Service/CustomVacationService.cs index 490b73803..17deb5389 100644 --- a/ReportImp/PaSMoenchengladbach/Service/CustomVacationService.cs +++ b/ReportImp/PaSMoenchengladbach/Service/CustomVacationService.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Linq; using BeWo.Service.Plugins; using BS.Shared.DataContracts; @@ -17,5 +18,13 @@ namespace PaSMoenchengladbach.Service return feiertage; } + + public override DateTime GetExpirationDate(int year) + { + if (year >= 2025) + return new DateTime(year, 12, 31); + else + return base.GetExpirationDate(year); + } } }