diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-03-10 19:12:20 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-03-11 17:51:49 -0400 |
| commit | 7c079bd8cb5ccf5381ac0c054438efcd0645ddbf (patch) | |
| tree | 7747111d708a6e00e33d62368ef985e4472b36ef /httemplate/search/pay_batch.cgi | |
| parent | 038ad47addd4168c74165c4a79051e4d2599258e (diff) | |
RT# 82988 - Fixed so only formats that can handle electronic refunds can download those files
Conflicts:
httemplate/view/cust_main/menu.html
Diffstat (limited to 'httemplate/search/pay_batch.cgi')
| -rwxr-xr-x | httemplate/search/pay_batch.cgi | 8 |
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; |
