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

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

{{ csrfToken }} {{ with .Form -}} {{ template "hidden-field" .Location }} {{ template "select-field" .Customer }} {{ template "hidden-field" .Date }} {{ template "tags-field" .Tags }} {{ template "select-field" .PaymentMethod }} {{ template "select-field" .InvoiceStatus }} {{ template "input-field" .Notes }} {{- range $product := .Products }} {{ template "invoice-product-form" . }} {{- end }} {{- end }} {{- range $tax := .Taxes }} {{- end }}
{{(pgettext "Subtotal" "title")}} {{ .Subtotal | formatPrice }}
{{ index . 0 }} {{ index . 1 | formatPrice }}
{{(pgettext "Total" "title")}} {{ .Total | formatPrice }}
{{- end }}