InklusioElmarBauer: Heiligabend und Silvester auch im Urlaubskonto als halbe Arbeitstage behandeln
This commit is contained in:
@@ -21,5 +21,18 @@ namespace InklusioElmarBauer.Service
|
||||
|
||||
return feiertage;
|
||||
}
|
||||
|
||||
public override decimal GetFeiertagsFaktor(DateTime start)
|
||||
{
|
||||
if (start.Year >= 2025 && start.Month == 12 && (start.Day == 24 || start.Day == 31))
|
||||
{
|
||||
return 0.5m;
|
||||
}
|
||||
else if (IstFeiertag(start))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user