summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/misc.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/cust_main/misc.html')
-rw-r--r--httemplate/view/cust_main/misc.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/view/cust_main/misc.html b/httemplate/view/cust_main/misc.html
index 9713b2469..263c266e7 100644
--- a/httemplate/view/cust_main/misc.html
+++ b/httemplate/view/cust_main/misc.html
@@ -107,13 +107,13 @@
% if ( $id_country eq 'MY' ) {
<TR>
% my($old, $nric) = ( '', '');
-% if ( $cust_main->national_id =~ /^\w\d{9}$/ ) {
- <TD ALIGN="right"><% mt('Old IC/Passport') |h %></TD>
-% } elsif ( $cust_main->national_id =~ /^\d{6}\-\d{2}\-\d{4}$/ ) {
+% if ( $cust_main->national_id =~ /^\d{6}\-\d{2}\-\d{4}$/ ) {
<TD ALIGN="right"><% mt('NRIC') |h %></TD>
-% } else {
-% warn "unknown national_id format";
- <TD ALIGN="right"></TD>
+% } else { # elsif ( $cust_main->national_id =~ /^\w\d{9}$/ ) {
+ <TD ALIGN="right"><% mt('Old IC/Passport') |h %></TD>
+% #} else {
+% # warn "unknown national_id format";
+%# <TD ALIGN="right"></TD>
% }
<TD BGCOLOR="#ffffff"><% $cust_main->national_id |h %></TD>
</TR>