This commit was generated by cvs2svn to compensate for changes in r4888,
[freeside.git] / httemplate / edit / cust_main.cgi
index e0dd3c8..57d4dac 100755 (executable)
 % } else { 
 
 
-   <% include('/elements/tr-select-part_referral.html') %>
+   <% include('/elements/tr-select-part_referral.html', $refnum ) %>
 % } 
 
 
 
 <!-- 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 -->