fix: wrong kurzarbeit calculation fixed #80
Some checks failed
Tests / Run Go Tests (push) Failing after 1m5s

This commit is contained in:
2026-02-15 18:16:12 +01:00
parent 7e54800bc3
commit 23896e4f08
3 changed files with 24 additions and 45 deletions

View File

@@ -119,8 +119,6 @@ func (p *PublicHoliday) RequiresAction() bool {
}
func (p *PublicHoliday) GetWorktime(u User, base WorktimeBase, includeKurzarbeit bool) time.Duration {
return 0
switch base {
case WorktimeBaseDay:
return u.ArbeitszeitProTagFrac(float32(p.worktime) / 100)