summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view')
-rw-r--r--httemplate/view/cust_main/misc.html12
1 files changed, 8 insertions, 4 deletions
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 @@
<TD BGCOLOR="#ffffff"><% $cust_main->otaker %></TD>
</TR>
-<TR>
- <TD ALIGN="right">Date of Birth</TD>
- <TD BGCOLOR="#ffffff"><% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %></TD>
-</TR>
+<% if ( $conf->exists('cust_main-enable_birthdate') ) {
+
+ <TR>
+ <TD ALIGN="right">Date of Birth</TD>
+ <TD BGCOLOR="#ffffff"><% $cust_main->birthdate ? time2str($date_format, $cust_main->birthdate) : '' %></TD>
+ </TR>
+
+<% } %>
</TABLE></TD></TR></TABLE>