diff --git a/ReportImp/KomMitBewo/Service/CustomVacationService.cs b/ReportImp/KomMitBewo/Service/CustomVacationService.cs index 733a9b77b..2a6657a74 100644 --- a/ReportImp/KomMitBewo/Service/CustomVacationService.cs +++ b/ReportImp/KomMitBewo/Service/CustomVacationService.cs @@ -26,6 +26,19 @@ namespace KommMit.Service } return list; - } + } + + public override decimal GetFeiertagsFaktor(DateTime start) + { + if (start.Year >= 2024 && start.Month == 12 && (start.Day == 24 || start.Day == 31)) + { + return 0.5m; + } + else if (IstFeiertag(start)) + { + return 1; + } + return 0; + } } }