X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fconfirm-censustract.html;h=880cade3a3086db37755be40fbf283036ba3b13a;hb=fc7bc7a54a4e5447971b3565fb9e2d1b5d0a70e0;hp=9e0af498fc901989c69808f76f239c3fc067116f;hpb=acbc7e3c55a3d5a0e9999b0630653ad510d4b19a;p=freeside.git diff --git a/httemplate/misc/confirm-censustract.html b/httemplate/misc/confirm-censustract.html index 9e0af498f..880cade3a 100644 --- a/httemplate/misc/confirm-censustract.html +++ b/httemplate/misc/confirm-censustract.html @@ -6,6 +6,9 @@ Census tract error Confirm census tract % }
+<% $location{address1} %> <% $location{address2} %>
+<% $location{city} %>, <% $location{state} %> <% $location{zip} %>
+
% my $querystring = "census_year=$year&latitude=".$cache->get('latitude').'&longitude='.$cache->get('longitude'); Map service module location
@@ -29,13 +32,14 @@ Confirm census tract +% if ( !$error ) { @@ -47,6 +51,14 @@ Confirm census tract +% } else { # don't show a button to use the calculated value + + + + +% } <%init> @@ -61,11 +73,7 @@ warn $cgi->param('q') if $DEBUG; my $q = decode_json($cgi->param('q')) or die "bad argument '".$cgi->param('q')."'"; -my $pre = ''; -if ($q->{billship}) { - # this still isn't quite correct - $pre = $q->{'same'} ? 'bill_' : 'ship_'; -} +my $pre = $q->{prefix} || ''; my %location = ( map { $_ => $q->{$pre.$_} } qw( company address1 address2 city state zip country latitude longitude )