From 7e9fa4e9b112256de04a72e56a1aba3ea172e417 Mon Sep 17 00:00:00 2001 From: HirschleM Date: Tue, 23 Sep 2025 14:11:52 +0200 Subject: [PATCH] MH: PaSMoenchengladbach Urlaubskonto Verfallsdatum --- .../Service/CustomVacationService.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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); + } } }