From 7c0ec6fb521584a93a93e456dbb923870f059308 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 16 Oct 2006 17:10:46 +0000 Subject: add a conf checkbox to turn DOB on --- httemplate/view/cust_main/misc.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'httemplate/view') diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html index b0fab0300..b6c028e16 100644 --- a/httemplate/view/cust_main/misc.html +++ b/httemplate/view/cust_main/misc.html @@ -91,10 +91,14 @@ <% $cust_main->otaker %> - - Date of Birth - <% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %> - +<% if ( $conf->exists('cust_main-enable_birthdate') ) { + + + Date of Birth + <% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %> + + +<% } %> -- cgit v1.2.1