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

{{(pgettext "Tax Details" "title")}}

{{ with .DetailsForm }}
{{ 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 }}
{{ with .Taxes }} {{- range $tax := . }} {{- end }} {{ else }} {{ end }}
{{( pgettext "Tax Name" "title" )}} {{( pgettext "Rate (%)" "title" )}}
{{ .Name }} {{ .Rate }}
{{( 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 }}