diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-08-14 12:15:32 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-08-14 12:15:32 -0700 |
| commit | d3f91c0823f827fe2da7197d39014dc330fb6785 (patch) | |
| tree | bc08858f4bcfc241925c400ebf32ac3c47e7846e | |
| parent | def9b0f3c02351c4da55ff8b47dcb7125b0a7581 (diff) | |
fix: cust_main-enable_birthdate needs to be enabled for MY national_id to work, RT#18543
| -rwxr-xr-x | httemplate/edit/cust_main.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
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') % ) |
