summaryrefslogtreecommitdiff
path: root/httemplate/elements/location.html
diff options
context:
space:
mode:
authorjeff <jeff>2009-07-27 03:26:47 +0000
committerjeff <jeff>2009-07-27 03:26:47 +0000
commitf3717767d19f9da888e190f87a04dfa245d658b4 (patch)
tree198b6454ec80efd88096d5574feb5c83bf827a20 /httemplate/elements/location.html
parent6a8c7c021a01b85ce172a230757b000fe2959a31 (diff)
FCC from 477 improvements #4912
Diffstat (limited to 'httemplate/elements/location.html')
-rw-r--r--httemplate/elements/location.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html
index 1bdbf9604..07aaa69f0 100644
--- a/httemplate/elements/location.html
+++ b/httemplate/elements/location.html
@@ -87,7 +87,15 @@ Example:
% if ( !$pre ) {
<INPUT TYPE="hidden" NAME="geocode" VALUE="<% $opt{geocode} %>">
% } else {
- <INPUT TYPE="hidden" NAME="censustract" VALUE="<% $opt{censustract} %>">
+% if ( $pre eq 'ship_' && $conf->exists('cust_main-require_censustract') ) {
+ <TR><TH ALIGN="right">Census tract<BR>(automatic)</TH>
+ <TD>
+ <INPUT TYPE="text" NAME="censustract" VALUE="<% $opt{censustract} %>">
+ </TD>
+ </TR>
+% } else {
+ <INPUT TYPE="hidden" NAME="censustract" VALUE="<% $opt{censustract} %>">
+% }
% }
<%init>