projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add condition_sql optimization to "Customer does not have uncancelled package of...
[freeside.git]
/
httemplate
/
misc
/
confirm-censustract.html
diff --git
a/httemplate/misc/confirm-censustract.html
b/httemplate/misc/confirm-censustract.html
index
880cade
..
10ae918
100644
(file)
--- a/
httemplate/misc/confirm-censustract.html
+++ b/
httemplate/misc/confirm-censustract.html
@@
-1,3
+1,10
@@
+% if ( !$error and !$new_tract ) {
+% # then set_censustract returned nothing
+% # because it's not relevant for this address
+% # so output nothing (forces confirm_censustract() to continue)
+% $m->clear_buffer;
+% $m->abort;
+% }
<CENTER><BR><B>
% if ( $error ) {
Census tract error
<CENTER><BR><B>
% if ( $error ) {
Census tract error
@@
-6,8
+13,8
@@
Census tract error
Confirm census tract
% }
</B><BR>
Confirm census tract
% }
</B><BR>
-<% $location{address1}
%> <% $location{address2}
%><BR>
-<% $location{city}
%>, <% $location{state} %> <% $location{zip}
%><BR>
+<% $location{address1}
|h %> <% $location{address2} |h
%><BR>
+<% $location{city}
|h %>, <% $location{state} |h %> <% $location{zip} |h
%><BR>
<BR>
% my $querystring = "census_year=$year&latitude=".$cache->get('latitude').'&longitude='.$cache->get('longitude');
<A HREF="http://maps.ffiec.gov/FFIECMapper/TGMapSrv.aspx?<% $querystring %>"
<BR>
% my $querystring = "census_year=$year&latitude=".$cache->get('latitude').'&longitude='.$cache->get('longitude');
<A HREF="http://maps.ffiec.gov/FFIECMapper/TGMapSrv.aspx?<% $querystring %>"