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