X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=799531e01a0c91d40130ac7eecff93e58d6c06d8;hb=d7cf0d6bb3b81b1c91ef1bcc3252d56f96b65b0f;hp=873fe16213fac3538d8729527a418e9c4bd70ac7;hpb=a72a10f754f7465121d6137bb3dcee0a21ea6443;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 873fe1621..799531e01 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -200,7 +200,7 @@ Example: % } else { % foreach (qw(latitude longitude)) { - + % } % } @@ -213,38 +213,75 @@ 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 <% '(automatic)' %> -% } else { - -% } +% } else { + % } %# For address standardization: %# keep a clean copy of the address so we know if we need %# to re-standardize % foreach (qw(address1 city state country zip latitude -% longitude censustract addr_clean) ) { +% longitude censustract district addr_clean) ) { % } %# Placeholders + + + <%init> my %opt = @_;