{{ define "title" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expenseForm*/ -}} {{( pgettext "New Expense" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expenseForm*/ -}} {{( pgettext "Home" "title" )}} / {{( pgettext "Expenses" "title" )}} / {{( pgettext "New Expense" "title" )}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.expenseForm*/ -}} {{(pgettext "New Expense" "title")}} {{ 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" )}} / {{( pgettext "New Expense" "title" )}}