camper/web/templates/public/payment/details.gohtml

22 lines
644 B
Plaintext

{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/payment.Payment*/ -}}
<dl class="payment-details">
<div>
<dt>{{( pgettext "Order Number" "title" )}}</dt>
<dd>{{ .Reference }}</dd>
</div>
<div>
<dt>{{( pgettext "Date" "title" )}}</dt>
<dd>{{ .CreateTime | formatDate }}</dd>
</div>
<div>
<dt>{{( pgettext "Total" "title" )}}</dt>
<dd>{{ .Total | formatPrice }}</dd>
</div>
{{ if ne .Total .DownPayment -}}
<div>
<dt>{{( pgettext "Down Payment" "title" )}}</dt>
<dd>{{ .DownPayment | formatPrice }}</dd>
</div>
{{- end }}
</dl>