[freeside-commits] freeside/httemplate/edit cust_main.cgi, 1.68, 1.69

Ivan,,, ivan at wavetail.420.am
Mon Oct 16 10:10:48 PDT 2006


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv8514/httemplate/edit

Modified Files:
	cust_main.cgi 
Log Message:
add a conf checkbox to turn DOB on

Index: cust_main.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/cust_main.cgi,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- cust_main.cgi	16 Oct 2006 16:56:26 -0000	1.68
+++ cust_main.cgi	16 Oct 2006 17:10:46 -0000	1.69
@@ -164,16 +164,20 @@
 
 <!-- birthdate -->
 
-<BR>
-<% ntable("#cccccc", 2) %>
-<% include ('/elements/tr-input-date-field.html',
-            'birthdate',
-            $cust_main->birthdate,
-            'Date of Birth',
-            $conf->config('date_format') || "%m/%d/%Y")
-%>
+<% if ( $conf->exists('cust_main-enable_birthdate') ) {
 
-</TABLE>
+  <BR>
+  <% ntable("#cccccc", 2) %>
+  <% include ('/elements/tr-input-date-field.html',
+              'birthdate',
+              $cust_main->birthdate,
+              'Date of Birth',
+              $conf->config('date_format') || "%m/%d/%Y")
+  %>
+
+  </TABLE>
+
+<% } %>
 
 <!-- contact info -->
 



More information about the freeside-commits mailing list