{{ define "title" -}} {{( pgettext "Add Products to Invoice" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.newInvoiceProductsPage*/ -}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.newInvoiceProductsPage*/ -}}

{{(pgettext "Add Products to Invoice" "title")}}

{{ csrfToken }} {{- with .Form }} {{ template "hidden-select-field" .Customer }} {{ template "hidden-field" .Date }} {{ template "hidden-field" .Notes }} {{ template "hidden-field" .Tags }} {{- range $product := .Products }}
{{ template "hidden-field" .InvoiceProductId }} {{ template "hidden-field" .ProductId }} {{ template "hidden-field" .Name }} {{ template "hidden-field" .Description }} {{ template "hidden-field" .Price }} {{ template "hidden-field" .Quantity }} {{ template "hidden-field" .Discount }} {{ template "hidden-select-field" .Tax }}
{{- end }} {{- end }} {{ with .Products }} {{- range $product, $key := . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "All" "product" )}} {{( pgettext "Name" "title" )}} {{( pgettext "Price" "title" )}}
{{ .Price | formatPrice }}
{{( gettext "No products added yet." )}}
{{- end }}