From 08ac47123e098939db3d94cc136ff02f174e8dd0 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 14 Aug 2012 12:15:31 -0700 Subject: [PATCH] fix: cust_main-enable_birthdate needs to be enabled for MY national_id to work, RT#18543 --- httemplate/edit/cust_main.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index 1ad031d81..9195f5dc8 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -28,7 +28,8 @@ <& cust_main/top_misc.html, $cust_main, 'custnum' => $custnum &> %# birthdate -% if ( $conf->exists('cust_main-enable_birthdate') +% if ( $conf->config('national_id-country') +% || $conf->exists('cust_main-enable_birthdate') % || $conf->exists('cust_main-enable_spouse_birthdate') % || $conf->exists('cust_main-enable_anniversary_date') % ) -- 2.11.0