summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorkhoff <khoff>2003-05-02 23:51:06 +0000
committerkhoff <khoff>2003-05-02 23:51:06 +0000
commitf558d1e0e0ae2c956f7dd77d35ae647e45776087 (patch)
tree8dbd0df063a6de7529c89a61a3ec2afa7e2b883d /httemplate
parentaee635ea9986d031a996381f71e67d1446c10331 (diff)
CARD && DCRD?
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/view/cust_main.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi
index 2dc53e674..cea8d6321 100755
--- a/httemplate/view/cust_main.cgi
+++ b/httemplate/view/cust_main.cgi
@@ -223,7 +223,7 @@ if ( $conf->config('payby-default') ne 'HIDE' ) {
'<TR><TD ALIGN="right">Billing type</TD><TD BGCOLOR="#ffffff">',
;
- if ( $cust_main->payby eq 'CARD' && $cust_main->payby eq 'DCRD' ) {
+ if ( $cust_main->payby eq 'CARD' || $cust_main->payby eq 'DCRD' ) {
my $payinfo = $cust_main->payinfo;
$payinfo = 'x'x(length($payinfo)-4). substr($payinfo,(length($payinfo)-4));
print 'Credit card ',
@@ -236,7 +236,7 @@ if ( $conf->config('payby-default') ne 'HIDE' ) {
'<TR><TD ALIGN="right">Name on card</TD><TD BGCOLOR="#ffffff">',
$cust_main->payname, '</TD></TR>'
;
- } elsif ( $cust_main->payby eq 'CHEK' && $cust_main->payby eq 'DCHK') {
+ } elsif ( $cust_main->payby eq 'CHEK' || $cust_main->payby eq 'DCHK') {
my( $account, $aba ) = split('@', $cust_main->payinfo );
print 'Electronic check',
( $cust_main->payby eq 'CHEK' ? '(automatic)' : '(on-demand)' ),