[freeside-commits] freeside/FS/FS cust_bill.pm,1.229,1.230

Ivan,,, ivan at wavetail.420.am
Wed Nov 19 16:42:12 PST 2008


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv11774

Modified Files:
	cust_bill.pm 
Log Message:
don't use payname for CARD or DCRD either, closes: RT#3982

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -d -r1.229 -r1.230
--- cust_bill.pm	11 Nov 2008 08:55:40 -0000	1.229
+++ cust_bill.pm	20 Nov 2008 00:42:09 -0000	1.230
@@ -1689,8 +1689,8 @@
 
   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'     => [ '<%=', '%>' ],



More information about the freeside-commits mailing list