From: ivan Date: Thu, 20 Nov 2008 00:42:09 +0000 (+0000) Subject: don't use payname for CARD or DCRD either, closes: RT#3982 X-Git-Tag: root_of_webpay_support~250 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=3c652480dea69c3191b968fe0c4101d6fd6aab45 don't use payname for CARD or DCRD either, closes: RT#3982 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index df0e32b9b..c36023de0 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1689,8 +1689,8 @@ sub print_generic { my $cust_main = $self->cust_main; $cust_main->payname( $cust_main->first. ' '. $cust_main->getfield('last') ) - unless $cust_main->payname && $cust_main->payby !~ /^(CHEK|DCHK)$/; - + unless $cust_main->payname + && $cust_main->payby !~ /^(CARD|DCRD|CHEK|DCHK)$/; my %delimiters = ( 'latex' => [ '[@--', '--@]' ], 'html' => [ '<%=', '%>' ],