{{ define "title" -}} {{( pgettext "Tax Details" "title" )}} {{- end }} {{ define "content" }}

{{(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 }}
{{ with .Taxes }} {{- range $tax := . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "Tax Name" "title" )}} {{( pgettext "Rate (%)" "title" )}}
{{ .Name }} {{ .Rate }}
{{ csrfToken }}
{{( gettext "No taxes added yet." )}}
{{( pgettext "New Line" "title")}} {{ template "input-field" .NewTaxForm.Name | addInputAttr `form="newtax"` }} {{ template "input-field" .NewTaxForm.Rate | addInputAttr `form="newtax"` }}
{{- end }}