{{ 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" . }}

    {{ with .AcceptPreauthRequest -}} {{ $confirm := (gettext "Are you sure you wish to accept this pre-authorization?")}}
    {{- end }} {{ with .VoidPreauthRequest -}} {{ $confirm := (gettext "Are you sure you wish to void this pre-authorization?")}}
    {{- end }}
    {{( 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 "ACSI / ANWB card?" "input" )}} {{if .ACSICard}}{{( gettext "Yes" )}}{{ else }}{{( gettext "No" )}}{{ end }}
    {{( 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 -}} {{ range . -}} {{- end }}
    {{( pgettext "Campsite Type Options" "title" )}}
    {{ .Label }} {{ .Units }}
    {{- 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 }}
    {{- end }} {{- end }}