{{ define "title" -}}
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/payment.paymentDetails*/ -}}
{{ printf ( pgettext "Payment %s" "title" ) .Reference }}
{{- end }}
{{ define "breadcrumb" -}}
{{( pgettext "Payments" "title" )}}
{{- end }}
{{ define "content" -}}
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/payment.paymentDetails*/ -}}
{{ template "title" . }}
{{( pgettext "Payment" "title" )}}
{{( pgettext "Reference" "header" )}} |
{{ .Reference }} |
{{( pgettext "Status" "header" )}} |
{{ .StatusLabel }} |
{{( pgettext "Created at" "payment header" )}} |
{{ .CreatedAt | formatDateTime }} |
{{( pgettext "Last updated at" "payment header" )}} |
{{ .UpdatedAt | formatDateTime }} |
{{( pgettext "Booking" "title" )}}
{{( pgettext "Accommodation" "title" )}} |
{{ .CampsiteType }} |
{{( pgettext "Area preferences" "header" )}} |
{{ .ZonePreferences }} |
{{( pgettext "Arrival date" "input" )}} |
{{ .ArrivalDate | formatDate }} |
{{( pgettext "Departure date" "input" )}} |
{{ .DepartureDate | formatDate }} |
{{( pgettext "Nights" "cart" )}} |
{{ .NumNights }} |
{{( pgettext "Adults aged 17 or older" "input" )}} |
{{ .NumAdults }} |
{{( pgettext "Teenagers from 11 to 16 years old" "input" )}} |
{{ .NumTeenagers }} |
{{( pgettext "Children from 2 to 10 years old" "input" )}} |
{{ .NumChildren }} |
{{( pgettext "Dogs" "input" )}} |
{{ .NumDogs }} |
{{( pgettext "Tourist tax" "cart" )}} |
{{ .SubtotalTouristTax | formatPrice }} |
{{( pgettext "Down payment" "cart" )}} |
{{ .DownPaymentPercent }} %, {{ .DownPayment | formatPrice }} |
{{ with .Options -}}
{{( pgettext "Campsite Type Options" "title" )}}
{{ range . -}}
{{ .Label }} |
{{ .Units }} |
{{- end }}
{{- end }}
{{ with .Customer -}}
{{( pgettext "Customer Details" "title" )}}
{{( pgettext "Full name" "input" )}} |
{{ .FullName }} |
{{( pgettext "Address" "input" )}} |
{{ .Address }} |
{{( pgettext "Postcode" "input" )}} |
{{ .PostalCode }} |
{{( pgettext "City" "input" )}} |
{{ .City }} |
{{( pgettext "Country" "input" )}} |
{{ .Country }} |
{{( pgettext "Email" "input" )}} |
{{ .Email }} |
{{( pgettext "Phone" "input" )}} |
{{ .Phone }} |
{{( pgettext "Language" "input" )}} |
{{ .Language }} |
{{( pgettext "ACSI card?" "input" )}} |
{{if .ACSICard}}{{( gettext "Yes" )}}{{ else }}{{( gettext "No" )}}{{ end }} |
{{- end }}
{{- end }}