{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.editExpensePage*/ -}} {{ printf ( pgettext "Edit Expense ā€œ%sā€" "title" ) .Slug }} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.editExpensePage*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.editExpensePage*/ -}}

{{ printf (pgettext "Edit Expense ā€œ%sā€" "title") .Slug }}

{{ csrfToken }} {{ with .Form -}}
{{ template "select-field" .Invoicer }} {{ template "input-field" .InvoiceNumber }} {{ template "input-field" .InvoiceDate }} {{ template "input-field" .Amount }} {{ template "select-field" .Tax }} {{ template "tags-field" .Tags }} {{ template "file-field" .File }}
{{- end }} {{- range $tax := .Taxes }} {{- end }}
{{ index . 0 }} {{ index . 1 | formatPrice }}
{{(pgettext "Total" "title")}} {{ .Total | formatPrice }}
{{- end }}