From: ivan Date: Sun, 1 Jun 2008 07:08:46 +0000 (+0000) Subject: show "Check #" on payment receipts instead of "Billing #" X-Git-Tag: root_of_webpay_support~615 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=d8cbc19ac6d9d4aa9df946e6c9912bbcac26ef82 show "Check #" on payment receipts instead of "Billing #" --- 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