package view
import "github.com/rjNemo/rentease/internal/i18n"
templ ItemList(itemList ItemListViewModel) {
for _, item := range itemList.Items {
@LineItem(&item)
}
|
|
{ i18n.Localize(ctx, "booking.view.price") } (€) |
{ i18n.Localize(ctx, "booking.view.payment_method") } |
{ i18n.Localize(ctx, "booking.view.subtotal") } (€) |
|
if len(itemList.Payments) >0 {
for _,payment := range itemList.Payments {
@PaymentLine(&payment)
}
}
}