[freeside-commits] freeside/FS/FS cust_pay.pm,1.50.2.15,1.50.2.16

Ivan,,, ivan at wavetail.420.am
Sun Jun 1 00:08:50 PDT 2008


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

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	cust_pay.pm 
Log Message:
show "Check #" on payment receipts instead of "Billing #"

Index: cust_pay.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pay.pm,v
retrieving revision 1.50.2.15
retrieving revision 1.50.2.16
diff -u -d -r1.50.2.15 -r1.50.2.16
--- cust_pay.pm	2 Apr 2008 00:23:00 -0000	1.50.2.15
+++ cust_pay.pm	1 Jun 2008 07:08:48 -0000	1.50.2.16
@@ -19,7 +19,7 @@
 use FS::cust_main;
 use FS::cust_pay_void;
 
- at ISA = qw(FS::Record FS::cust_main_Mixin FS::payinfo_Mixin  );
+ at ISA = qw( FS::Record FS::cust_main_Mixin FS::payinfo_Mixin );
 
 $DEBUG = 0;
 
@@ -570,7 +570,11 @@
 
 sub payby_name {
   my $self = shift;
-  FS::payby->shortname( $self->payby );
+  if ( $self->payby eq 'BILL' ) { #kludge
+    'Check';
+  } else {
+    FS::payby->shortname( $self->payby );
+  }
 }
 
 =item gatewaynum



More information about the freeside-commits mailing list