added control tables (s_*) + working on implementing absence and booking types
Some checks failed
arbeitszeitmessung/pipeline/head There was a failure building this commit
Some checks failed
arbeitszeitmessung/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -117,8 +117,8 @@ func (d *WorkDay) GetWorkDays(card_uid string, tsFrom, tsTo time.Time) []WorkDay
|
||||
}
|
||||
|
||||
if absenceType.Valid {
|
||||
workDay.Absence = NewAbsence(card_uid, int8(absenceType.Int16), workDay.Day)
|
||||
log.Println("Found absence", workDay.Absence)
|
||||
workDay.Absence, err = NewAbsence(card_uid, int(absenceType.Int16), workDay.Day)
|
||||
// log.Println("Found absence", workDay.Absence)
|
||||
}
|
||||
|
||||
if workDay.Day.Equal(time.Now().Truncate(24 * time.Hour)) {
|
||||
|
||||
Reference in New Issue
Block a user