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;
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
my $h_cust_pay = $cust_pay->h_search('insert');
if ( $h_cust_pay ) {
+ next if $cust_pay->otaker eq $h_cust_pay->history_user;
$cust_pay->otaker($h_cust_pay->history_user);
} else {
$cust_pay->otaker('legacy');