projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
103527d
)
show "Check #" on payment receipts instead of "Billing #"
author
ivan
<ivan>
Sun, 1 Jun 2008 07:08:46 +0000
(07:08 +0000)
committer
ivan
<ivan>
Sun, 1 Jun 2008 07:08:46 +0000
(07:08 +0000)
FS/FS/cust_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay.pm
b/FS/FS/cust_pay.pm
index
ab81133
..
03e355f
100644
(file)
--- 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;
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;
$DEBUG = 0;
@@
-570,7
+570,11
@@
Returns a name for the payby field.
sub payby_name {
my $self = shift;
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
}
=item gatewaynum