small fixes in pdf generation + time calculation
All checks were successful
Tests / Run Go Tests (push) Successful in 27s
All checks were successful
Tests / Run Go Tests (push) Successful in 27s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user