{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentForm*/ -}} {{- if .Invoice -}} {{( pgettext "New Collection" "title" )}} {{- else -}} {{( pgettext "New Payment" "title" )}} {{- end -}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentForm*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.PaymentForm*/ -}}

{{ template "title" . }}

{{ csrfToken }} {{ if or .Expense .Invoice -}} {{ template "hidden-select-field" .Type }} {{- else -}} {{ template "select-field" .Type }} {{- end }} {{ template "select-field" .PaymentAccount }} {{ template "input-field" .Description }} {{ template "input-field" .PaymentDate }} {{ template "input-field" .Amount }} {{ template "tags-field" .Tags }} {{ template "file-field" .File }}
{{- end }}