{{ define "title" -}} {{( pgettext "Tax Details" "title" )}} {{- end }} {{ define "content" }} {{( pgettext "Home" "title" )}} / {{( pgettext "Tax Details" "title" )}} {{(pgettext "Tax Details" "title")}} {{- /*gotype: dev.tandem.ws/tandem/numerus/pkg.TaxDetailsPage*/ -}} {{ with .DetailsForm }} {{ csrfToken }} {{ template "input-field" .BusinessName }} {{ template "input-field" .VATIN }} {{ template "input-field" .TradeName }} {{ template "input-field" .Phone }} {{ template "input-field" .Email }} {{ template "input-field" .Web }} {{ template "input-field" .Address | addInputAttr `class="width-2x"` }} {{ template "input-field" .City }} {{ template "input-field" .Province }} {{ template "input-field" .PostalCode }} {{ template "select-field" .Country | addSelectAttr `class="width-fixed"` }} {{( pgettext "Currency" "title" )}} {{ template "select-field" .Currency }} {{ end }} {{ csrfToken }} {{( pgettext "Tax Name" "title" )}} {{( pgettext "Rate (%)" "title" )}} {{ with .Taxes }} {{- range $tax := . }} {{ .Name }} {{ .Rate }} {{ csrfToken }} {{ deleteMethod }} {{- end }} {{ else }} {{( gettext "No taxes added yet." )}} {{ end }} {{( pgettext "New Line" "title")}} {{ template "input-field" .NewTaxForm.Name | addInputAttr `form="newtax"` }} {{ template "input-field" .NewTaxForm.Rate | addInputAttr `form="newtax"` }} {{( pgettext "Add new tax" "action" )}} {{( pgettext "Save changes" "action" )}} {{- end }}
{{( pgettext "Home" "title" )}} / {{( pgettext "Tax Details" "title" )}}