This commit was generated by cvs2svn to compensate for changes in r4888,
[freeside.git] / httemplate / edit / cust_main.cgi
index 23254b6..57d4dac 100755 (executable)
 
 <!-- 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 -->