projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0bcdae
)
don't require payname for DCHK either
author
ivan
<ivan>
Sat, 10 Jan 2004 04:19:06 +0000
(
04:19
+0000)
committer
ivan
<ivan>
Sat, 10 Jan 2004 04:19:06 +0000
(
04:19
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
3e40cc1
..
86962ce
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-880,7
+880,7
@@
sub check {
if !$import && ( $y<$nowy || ( $y==$nowy && $1<$nowm ) );
}
- if ( $self->payname eq '' && $self->payby
ne 'CHEK'
&&
+ if ( $self->payname eq '' && $self->payby
!~ /^(CHEK|DCHK)$/
&&
( ! $conf->exists('require_cardname')
|| $self->payby !~ /^(CARD|DCRD)$/ )
) {