diff options
author | jeff <jeff> | 2009-07-27 03:26:47 +0000 |
---|---|---|
committer | jeff <jeff> | 2009-07-27 03:26:47 +0000 |
commit | f3717767d19f9da888e190f87a04dfa245d658b4 (patch) | |
tree | 198b6454ec80efd88096d5574feb5c83bf827a20 /httemplate/edit/cust_main.cgi | |
parent | 6a8c7c021a01b85ce172a230757b000fe2959a31 (diff) |
FCC from 477 improvements #4912
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-x | httemplate/edit/cust_main.cgi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 575131424..8b1d2b59c 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -32,6 +32,15 @@ <% include('cust_main/birthdate.html', $cust_main) %> % } +%# latitude and longitude +% if ( $conf->exists('cust_main-require_censustract') ) { +% my ($latitude, $longitude) = $cust_main->service_coordinates; +% $latitude ||= $conf->config('company_latitude') || ''; +% $longitude ||= $conf->config('company_longitude') || ''; + <INPUT NAME="latitude" TYPE="hidden" VALUE="<% $latitude |h %>"> + <INPUT NAME="longitude" TYPE="hidden" VALUE="<% $longitude |h %>"> +% } + %# contact info % my $same_checked = ''; |