X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main.cgi;h=6f4c98ea52e0f1dbcea8448a0754120ee4e84877;hb=7c0ec6fb521584a93a93e456dbb923870f059308;hp=23254b6a891e128d88915575b9ddffda4b936bc3;hpb=2baa6eb779a7f344903a7bbec7a5efa57239b40b;p=freeside.git
diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi
index 23254b6a8..6f4c98ea5 100755
--- a/httemplate/edit/cust_main.cgi
+++ b/httemplate/edit/cust_main.cgi
@@ -164,16 +164,20 @@
-
-<% 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') ) {
-
+
+ <% ntable("#cccccc", 2) %>
+ <% include ('/elements/tr-input-date-field.html',
+ 'birthdate',
+ $cust_main->birthdate,
+ 'Date of Birth',
+ $conf->config('date_format') || "%m/%d/%Y")
+ %>
+
+
+
+<% } %>