diff --git a/ReportImp/SeWo/MitarbeiterstundenkontoBerechnung.cs b/ReportImp/SeWo/MitarbeiterstundenkontoBerechnung.cs index 2ba0038f5..bdc1cb26d 100644 --- a/ReportImp/SeWo/MitarbeiterstundenkontoBerechnung.cs +++ b/ReportImp/SeWo/MitarbeiterstundenkontoBerechnung.cs @@ -258,6 +258,12 @@ namespace BeWo.SeWo return list; } + public override decimal GetFeiertagsFaktor(DateTime start) + { + if (start.Month == 12 && (start.Day == 24 || start.Day == 31)) + return 0.5m; + return base.GetFeiertagsFaktor(start); + } } } diff --git a/ReportImp/SeWo/Service/CustomVacationService.cs b/ReportImp/SeWo/Service/CustomVacationService.cs index 99da530c6..52dffd4ec 100644 --- a/ReportImp/SeWo/Service/CustomVacationService.cs +++ b/ReportImp/SeWo/Service/CustomVacationService.cs @@ -19,5 +19,13 @@ namespace SeWo.Service return list; } + + public override decimal GetFeiertagsFaktor(DateTime start) + { + if (start.Year >= 2025 && start.Month == 12 && (start.Day == 24 || start.Day == 31)) + return 0.5m; + else + return base.GetFeiertagsFaktor(start); + } } }