X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=a820bf2a6a9c006bff52083af34e9fdd6efcfc16;hb=5fa459e35a04b69cbdc6b5b938eabcbc1bac6c74;hp=873fe16213fac3538d8729527a418e9c4bd70ac7;hpb=e710e07e4451b7c615fb477799dc64bf3490248c;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 873fe1621..a820bf2a6 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -200,7 +200,7 @@ Example: % } else { % foreach (qw(latitude longitude)) { - + % } % } @@ -219,32 +219,67 @@ 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 + + + <%init> my %opt = @_;