{{ define "title" -}} {{( pgettext "Add Products to Quotation" "title" )}} {{- end }} {{ define "breadcrumbs" -}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.newQuoteProductsPage*/ -}} {{( pgettext "Home" "title" )}} / {{( pgettext "Quotations" "title" )}} / {{ if eq .Form.Number "" }} {{( pgettext "New Quotation" "title" )}} {{ else }} {{ .Form.Number }} {{ end }} {{- end }} {{ define "content" }} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.newQuotationProductsPage*/ -}} {{(pgettext "Add Products to Quotation" "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" .QuoteProductId }} {{ 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 }} {{( pgettext "All" "product" )}} {{( pgettext "Name" "title" )}} {{( pgettext "Price" "title" )}} {{ with .Products }} {{- range . }} {{ .Name }} {{ .Price | formatPrice }} {{- end }} {{ else }} {{( gettext "No products added yet." )}} {{ end }} {{( pgettext "Add products" "action" )}} {{- end }}
{{( pgettext "Home" "title" )}} / {{( pgettext "Quotations" "title" )}} / {{ if eq .Form.Number "" }} {{( pgettext "New Quotation" "title" )}} {{ else }} {{ .Form.Number }} {{ end }}