{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentIndexPage*/ -}} {{( pgettext "Payments" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentIndexPage*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentIndexPage*/ -}} {{ with .Payments }} {{ $confirm := (gettext "Are you sure you wish to delete this payment?")}} {{- range $payment := . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "Payment Date" "title" )}} {{( pgettext "Description" "title" )}} {{( pgettext "Document" "title" )}} {{( pgettext "Status" "title" )}} {{( pgettext "Tags" "title" )}} {{( pgettext "Total" "title" )}} {{( pgettext "Download" "title" )}} {{( pgettext "Actions" "title" )}}
{{ .PaymentDate|formatDate }} {{ .Description }} {{- if .InvoiceNumber -}} {{- if eq .Type "P" -}} {{ .InvoiceNumber }} {{- else -}} {{ .InvoiceNumber }} {{- end -}} {{- end -}} {{ .StatusLabel }} {{- range $index, $tag := .Tags }} {{- if gt $index 0 }}, {{ end -}} {{ . }} {{- end }} {{ .Total | formatPrice }} {{ if .OriginalFileName }} {{ end }}
{{( gettext "No payments added yet." )}}
{{- end }}