X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=41a67a0cbb9f852e507f7f2590b20bd0cbded0b0;hb=fa2d8d66b29628e95a8a3aad05e59cbb173f4671;hp=873fe16213fac3538d8729527a418e9c4bd70ac7;hpb=fd826b3b08d1093f83f44fb2787bfad8bd715ad6;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 873fe1621..41a67a0cb 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -200,7 +200,7 @@ Example: % } else { % foreach (qw(latitude longitude)) { - + % } % } @@ -219,27 +219,26 @@ Example: % } -% 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