X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=799531e01a0c91d40130ac7eecff93e58d6c06d8;hb=afe30fc7315196cc4ae6da7606995cb8388d1a32;hp=b142aa6904a546b7942a67cf96954440df637287;hpb=6c063e24b90cd374623e2841045fe4c61bed8143;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index b142aa690..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,21 +231,57 @@ Example: <% '(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 = @_;