X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=a820bf2a6a9c006bff52083af34e9fdd6efcfc16;hb=5fa459e35a04b69cbdc6b5b938eabcbc1bac6c74;hp=5c7c888de634202e7597bd881620e3f2aba93595;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 5c7c888de..a820bf2a6 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -33,7 +33,7 @@ Example: 'options' => \@location_kind_options, 'labels' => $location_kind_labels, 'curr_value' => scalar($cgi->param('location_kind')) - || $object->get($pre.'location_kind'), + || $object->get('location_kind'), ) %> @@ -164,7 +164,7 @@ Example: NAME = "<%$pre%>zip" ID = "<%$pre%>zip" VALUE = "<% $object->get('zip') |h %>" - SIZE = 10 + SIZE = 11 onChange = "<% $onchange %>" <% $disabled %> <% $style %> @@ -179,7 +179,7 @@ Example: % if ( $opt{enable_coords} ) { - <% mt('Latitude') |h %> + <% mt('Latitude') |h %> % } else { % foreach (qw(latitude longitude)) { - + % } % } + - % if ( $opt{enable_censustract} ) { + Census tract + NAME="enter_censustract" + VALUE="<% $object->censustract |h %>"> <% '(automatic)' %> -% } else { - -% } -% if ( $conf->config('tax_district_method') ) { +% } +% if ( $opt{enable_district} and $conf->config('tax_district_method') ) { -% if ( $opt{enable_district} ) { Tax district + ID="<%$pre%>district" + VALUE="<% $object->district |h %>"> <% '(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 district addr_clean) ) { + % } +%# Placeholders + + + + <%init>