fix: wrong kurzarbeit calculation fixed #80
Some checks failed
Tests / Run Go Tests (push) Failing after 1m5s
Some checks failed
Tests / Run Go Tests (push) Failing after 1m5s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user