X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_pay.pm;h=03e355f74feb8664d518c69bafdec8d34a4a2654;hb=d8cbc19ac6d9d4aa9df946e6c9912bbcac26ef82;hp=ab8113381a4ce94326b5967901f56b89d3e9d639;hpb=103527d74c16f4427b57ce88fc9b8eeb9a79cbda;p=freeside.git 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