+% my $id_country = $conf->config('national_id-country');
+% if ( $id_country ) {
+% if ( $id_country eq 'MY' ) {
+ <TR>
+% my($old, $nric) = ( '', '');
+% if ( $cust_main->national_id =~ /^\d{6}\-\d{2}\-\d{4}$/ ) {
+ <TH ALIGN="right"><% mt('NRIC') |h %></TH>
+% } else { # elsif ( $cust_main->national_id =~ /^\w\d{9}$/ ) {
+ <TH ALIGN="right"><% mt('Old IC/Passport') |h %></TH>
+% #} else {
+% # warn "unknown national_id format";
+%# <TH ALIGN="right"></TH>
+% }
+ <TD><% $cust_main->national_id |h %></TD>
+ </TR>
+% } else {
+% warn "unknown national_id-country $id_country";
+% }
+% }
+