{{ define "title" -}} {{( pgettext "New Invoice" "title" )}} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.invoiceForm*/ -}} {{( pgettext "Home" "title" )}} / {{( pgettext "Invoices" "title" )}} / {{( pgettext "New Invoice" "title" )}} {{(pgettext "New Invoice" "title")}} {{ csrfToken }} {{ template "select-field" .Customer }} {{ template "input-field" .Number }} {{ template "input-field" .Date }} {{ template "input-field" .Notes }} {{- range $product := .Products }} {{ template "hidden-field" .ProductId }} {{ template "input-field" .Name }} {{ template "input-field" .Description }} {{ template "input-field" .Price }} {{ template "input-field" .Quantity }} {{ template "input-field" .Discount }} {{ template "select-field" .Tax }} {{- end }} {{( pgettext "Add products" "action" )}} {{( pgettext "Update" "action" )}} {{( pgettext "New invoice" "action" )}} {{- end }}
{{( pgettext "Home" "title" )}} / {{( pgettext "Invoices" "title" )}} / {{( pgettext "New Invoice" "title" )}}