added empty days in /team view

This commit is contained in:
2025-03-28 08:23:52 +01:00
parent b43783356f
commit eb45a3ef75
4 changed files with 96 additions and 47 deletions

View File

@@ -227,3 +227,7 @@ func (b *Booking) UpdateTime(newTime time.Time) {
b.Update(newBooking)
b.Save()
}
func (b *Booking) ToString() string {
return fmt.Sprintf("Booking %d: at: %s, as type: %d", b.CounterId, b.Timestamp.Format("15:04"), b.CheckInOut)
}