summaryrefslogtreecommitdiff
path: root/httemplate/search/pay_batch.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/pay_batch.cgi')
-rwxr-xr-xhttemplate/search/pay_batch.cgi8
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi
index 40df5aa56..8fe435132 100755
--- a/httemplate/search/pay_batch.cgi
+++ b/httemplate/search/pay_batch.cgi
@@ -33,9 +33,11 @@
],
'align' => 'rcllrrrrc',
'fields' => [ 'batchnum',
- sub {
- FS::payby->shortname(shift->payby);
- },
+ sub {
+ my $self = shift;
+ my $type = $self->type eq 'CREDIT' ? 'CREDIT' : '';
+ $type ." " . FS::payby->shortname($self->payby);
+ },
sub {
my $self = shift;
my $_date = $self->download;