summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main.cgi
diff options
context:
space:
mode:
authorivan <ivan>2006-10-16 17:10:46 +0000
committerivan <ivan>2006-10-16 17:10:46 +0000
commit7c0ec6fb521584a93a93e456dbb923870f059308 (patch)
treefb49770735a952a790c1a0f6822517edcc0644dc /httemplate/edit/cust_main.cgi
parent2baa6eb779a7f344903a7bbec7a5efa57239b40b (diff)
add a conf checkbox to turn DOB on
Diffstat (limited to 'httemplate/edit/cust_main.cgi')
-rwxr-xr-xhttemplate/edit/cust_main.cgi22
1 files changed, 13 insertions, 9 deletions
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 @@
<!-- 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 -->