summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-06-01 07:08:48 +0000
committerivan <ivan>2008-06-01 07:08:48 +0000
commit85c7dede23274d2cfeb1259e2ddcf46aa58a899b (patch)
tree33357235c15c4f3dd952f35450f00e1831e1558f
parent2e7f7cb8d83bb0898446519fa10458b4776067b4 (diff)
show "Check #" on payment receipts instead of "Billing #"
-rw-r--r--FS/FS/cust_pay.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm
index ab8113381..03e355f74 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -19,7 +19,7 @@ use FS::cust_pay_refund;
use FS::cust_main;
use FS::cust_pay_void;
-@ISA = qw(FS::Record FS::cust_main_Mixin FS::payinfo_Mixin );
+@ISA = qw( FS::Record FS::cust_main_Mixin FS::payinfo_Mixin );
$DEBUG = 0;
@@ -570,7 +570,11 @@ Returns a name for the payby field.
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