X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=a820bf2a6a9c006bff52083af34e9fdd6efcfc16;hb=5fa459e35a04b69cbdc6b5b938eabcbc1bac6c74;hp=68552331414f0b97937070309a8b53f82cccc51c;hpb=f3e0ac2b009c4edd5692cb587ff709dac2223ebe;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 = @_;