X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=799531e01a0c91d40130ac7eecff93e58d6c06d8;hb=5700d83bcd475134cff8afb28307174c09116924;hp=68552331414f0b97937070309a8b53f82cccc51c;hpb=f3e0ac2b009c4edd5692cb587ff709dac2223ebe;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 685523314..799531e01 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -213,14 +213,14 @@ Example: Census tract <% '(automatic)' %> % } -% if ( $conf->config('tax_district_method') ) { -% if ( $opt{enable_district} ) { +% if ( $opt{enable_district} and $conf->config('tax_district_method') ) { Tax district @@ -231,9 +231,8 @@ Example: <% '(automatic)' %> -% } else { +% } else { -% } % } %# For address standardization: @@ -246,6 +245,43 @@ Example: %# Placeholders + + + <%init> my %opt = @_;