projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
broadband_nas export, #15284
[freeside.git]
/
httemplate
/
search
/
cust_main.cgi
diff --git
a/httemplate/search/cust_main.cgi
b/httemplate/search/cust_main.cgi
index
6ebc55b
..
aae8c7e
100755
(executable)
--- a/
httemplate/search/cust_main.cgi
+++ b/
httemplate/search/cust_main.cgi
@@
-321,7
+321,7
@@
% }
%
% unless ( @{$all_pkgs{$custnum}} ) {
% }
%
% unless ( @{$all_pkgs{$custnum}} ) {
- <TD CLASS="grid" BGCOLOR="<% $bgcolor %>" COLSPAN=3> </TD>
!;
+ <TD CLASS="grid" BGCOLOR="<% $bgcolor %>" COLSPAN=3> </TD>
% }
%
</TR>
% }
%
</TR>
@@
-555,7
+555,7
@@
sub cardsearch {
my($card)=$cgi->param('card');
$card =~ s/\D//g;
my($card)=$cgi->param('card');
$card =~ s/\D//g;
- $card =~ /^(\d{13,16})$/ or errorpage(emt("Illegal card number"));
+ $card =~ /^(\d{13,16}
|\d{8,9}
)$/ or errorpage(emt("Illegal card number"));
my($payinfo)=$1;
[ qsearch('cust_main',{'payinfo'=>$payinfo, 'payby'=>'CARD'}),
my($payinfo)=$1;
[ qsearch('cust_main',{'payinfo'=>$payinfo, 'payby'=>'CARD'}),