From f558d1e0e0ae2c956f7dd77d35ae647e45776087 Mon Sep 17 00:00:00 2001 From: khoff Date: Fri, 2 May 2003 23:51:06 +0000 Subject: [PATCH] CARD && DCRD? --- httemplate/view/cust_main.cgi | 4 ++-- 1 file 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' ) { 'Billing type', ; - 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' ) { 'Name on card', $cust_main->payname, '' ; - } 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)' ), -- 2.11.0