diff --git a/internal/view/booking_by_id.templ b/internal/view/booking_by_id.templ index d941808..66ca7d2 100644 --- a/internal/view/booking_by_id.templ +++ b/internal/view/booking_by_id.templ @@ -42,12 +42,17 @@ templ BookingById(booking *BookingViewModel) {
@BookingForm(*booking)
-
-

- Line Items -

-
- +
+
+

+ Line Items +

+ +
+
+
@@ -55,15 +60,14 @@ templ BookingById(booking *BookingViewModel) { - + @ItemList(booking.Items) - - - - + + +
ItemPrice (€) Payment Method Sub-total (€)Actions
Total:{ booking.Total }
Total:{ booking.Total }
diff --git a/internal/view/booking_by_id_templ.go b/internal/view/booking_by_id_templ.go index 12457da..e8e7323 100644 --- a/internal/view/booking_by_id_templ.go +++ b/internal/view/booking_by_id_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.898 +// templ: version: v0.3.906 package view //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -121,7 +121,7 @@ func BookingById(booking *BookingViewModel) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "

Line Items

") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 9, "

Line Items

ItemQuantityPrice (€)Payment MethodSub-total (€)
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -129,27 +129,27 @@ func BookingById(booking *BookingViewModel) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "
ItemQuantityPrice (€)Payment MethodSub-total (€)Actions
Total:") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 10, "
Total:") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var7 string templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(booking.Total) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/view/booking_by_id.templ`, Line: 65, Col: 26} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/view/booking_by_id.templ`, Line: 70, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 11, "
Add New Line Item
Add New Line Item
{ item.Price } – { item.SubTotal } - + + > + Edit + } diff --git a/internal/view/line_item_templ.go b/internal/view/line_item_templ.go index 4ba02e3..acf1a63 100644 --- a/internal/view/line_item_templ.go +++ b/internal/view/line_item_templ.go @@ -1,6 +1,6 @@ // Code generated by templ - DO NOT EDIT. -// templ: version: v0.3.898 +// templ: version: v0.3.906 package view //lint:file-ignore SA4006 This context is only used if a nested component is present. @@ -81,7 +81,7 @@ func LineItem(item *ItemViewModel) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 5, "