{{ 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*/ -}} {{( pgettext "Home" "title" )}} / {{( pgettext "Expenses" "title" )}} / {{ .Slug }} {{- 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 "select-field" .ExpenseStatus }} {{ template "file-field" .File }} {{- end }} {{- range $tax := .Taxes }} {{ index . 0 }} {{ index . 1 | formatPrice }} {{- end }} {{(pgettext "Total" "title")}} {{ .Total | formatPrice }} {{( pgettext "Update" "action" )}} {{( pgettext "Save" "action" )}} {{- end }}
{{( pgettext "Home" "title" )}} / {{( pgettext "Expenses" "title" )}} / {{ .Slug }}