updated time editing ui
Some checks failed
Tests / Run Go Tests (push) Failing after 34s

This commit is contained in:
2025-10-01 21:56:18 +02:00
parent 15a2a9c075
commit 7e27c944f3
14 changed files with 392 additions and 289 deletions

View File

@@ -45,6 +45,10 @@ func (a *Absence) Date() time.Time {
return a.Day.Truncate(24 * time.Hour)
}
func (a *Absence) IsMultiDay() bool {
return !a.DateFrom.Equal(a.DateTo)
}
func (a *Absence) TimeWorkVirtual(u User) time.Duration {
return a.TimeWorkReal(u)
}