[freeside-commits] freeside/httemplate/edit cust_main.cgi, 1.100, 1.101

Jeff Finucane,420,, jeff at wavetail.420.am
Sun Jul 26 20:26:48 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv14204/httemplate/edit

Modified Files:
	cust_main.cgi 
Log Message:
FCC from 477 improvements #4912

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- cust_main.cgi	12 Jul 2009 23:25:13 -0000	1.100
+++ cust_main.cgi	27 Jul 2009 03:26:46 -0000	1.101
@@ -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 = '';



More information about the freeside-commits mailing list