X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Flocation.html;h=a820bf2a6a9c006bff52083af34e9fdd6efcfc16;hb=ac67ba5d343e1e704b9e706e2aa19ecd979a5863;hp=68552331414f0b97937070309a8b53f82cccc51c;hpb=54a357b171aa44f9399b4c146acd2afd3b686075;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 685523314..a820bf2a6 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -219,8 +219,7 @@ Example: % } -% if ( $conf->config('tax_district_method') ) { -% if ( $opt{enable_district} ) { +% if ( $opt{enable_district} and $conf->config('tax_district_method') ) { Tax district @@ -231,9 +230,8 @@ Example: <% '(automatic)' %> -% } else { +% } else { -% } % } %# For address standardization: @@ -246,6 +244,42 @@ Example: %# Placeholders + + + <%init> my %opt = @_;