[freeside-commits] freeside/httemplate/view/cust_main misc.html, 1.5, 1.6

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


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

Modified Files:
	misc.html 
Log Message:
add a conf checkbox to turn DOB on

Index: misc.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/misc.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- misc.html	4 Oct 2006 21:22:08 -0000	1.5
+++ misc.html	16 Oct 2006 17:10:46 -0000	1.6
@@ -91,10 +91,14 @@
   <TD BGCOLOR="#ffffff"><% $cust_main->otaker %></TD>
 </TR>
 
-<TR>
-  <TD ALIGN="right">Date of Birth</TD>
-  <TD BGCOLOR="#ffffff"><% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %></TD>
-</TR>
+<% if ( $conf->exists('cust_main-enable_birthdate') ) {
+
+  <TR>
+    <TD ALIGN="right">Date of Birth</TD>
+    <TD BGCOLOR="#ffffff"><% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %></TD>
+  </TR>
+
+<% } %>
 
 </TABLE></TD></TR></TABLE>
 



More information about the freeside-commits mailing list