X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Flocation.html;h=0f844531d7b7ac29da2230afdc5e9fbe61626603;hb=e7a9ba25d437b6a145a6260594c27f9dc0ac0495;hp=5c7c888de634202e7597bd881620e3f2aba93595;hpb=7acc76e0ead0d88cb225c88016c778c8feb9a075;p=freeside.git diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index 5c7c888de..0f844531d 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 %> @@ -206,36 +206,45 @@ Example: + - % 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} ) { + Tax district + VALUE="<% $object->district |h %>"> <% '(automatic)' %> + % } 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) ) { + +% } +%# Placeholders + + <%init> my %opt = @_;