From d3f91c0823f827fe2da7197d39014dc330fb6785 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Tue, 14 Aug 2012 12:15:32 -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 414043ed8..b0a926b9e 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -26,7 +26,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.20.1