small fixes in pdf generation + time calculation
All checks were successful
Tests / Run Go Tests (push) Successful in 27s

This commit is contained in:
2025-09-15 12:33:46 +02:00
parent 2d0b117403
commit 656d4c2340
8 changed files with 865 additions and 214 deletions

View File

@@ -191,7 +191,6 @@ func (d *WorkDay) CalcRealWorkTime(user User) time.Duration {
}
if d.Absence.AbwesenheitTyp.WorkTime > 0 {
realWorkTime = time.Duration(user.ArbeitszeitPerTag * float32(time.Hour)).Round(time.Minute)
log.Println("Rewriting worktime", realWorkTime)
}
d.workTime = realWorkTime
d.pauseTime = realPauseTime