SeWo/Mitarbeiterstundenkonto - 24. u 31.12. als halber Tag

This commit is contained in:
2025-11-14 13:11:26 +01:00
parent 9b1593c88a
commit 433a3426bf
2 changed files with 14 additions and 0 deletions

View File

@@ -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);
}
}
}

View File

@@ -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);
}
}
}