/time now also uses workDay instead of grouped booking --> outsourcing

to sql
This commit is contained in:
2025-03-28 13:05:26 +01:00
parent eb45a3ef75
commit 5a696788ed
10 changed files with 225 additions and 178 deletions

View File

@@ -22,15 +22,8 @@ templ TimePage(workDays []models.WorkDay) {
@headerComponent()
<div class="grid-main divide-y-1">
@inputForm()
for _, bookingGroup := range workDays {
@dayComponent(bookingGroup)
// if (bookingGroup.Day.Weekday() == 4) {
// <div class="col-span-5">
// <hr/>
// <p>Wochenende</p>
// <hr/>
// </div>
// }
for _, day := range workDays {
@dayComponent(day)
}
</div>
@LegendComponent()