package view
import (
"github.com/rjNemo/rentease/internal/view/layout"
)
type ListBookingsViewModel struct {
Id string
Url templ.SafeURL
From string
To string
Total string
Name string
Platform string
Canceled bool
}
templ ListBookings(bookings []*ListBookingsViewModel) {
@layout.BaseLayout() {
Bookings
Overview of the activity
| ID | Name | Total (€) | From | To | Platform |
|---|---|---|---|---|---|
| { b.Id } | { b.Name } | { b.Total } | { b.From } | { b.To } | { b.Platform } |