summaryrefslogtreecommitdiff
path: root/httemplate/search/pay_batch.cgi
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-13 09:17:02 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-13 09:17:02 -0400
commitbb201b08e3f48784cd77979dd4e31e866aa4f15d (patch)
tree22f19cdc7458f9e562861484911f1094e5b11fc0 /httemplate/search/pay_batch.cgi
parent8d4c0d746c208dd1cbc7d1d456d9bad2fa4bd0c0 (diff)
RT# 82988 - updated paybatch upgrade to move credits from combined batch file to credit batch file
Diffstat (limited to 'httemplate/search/pay_batch.cgi')
-rwxr-xr-xhttemplate/search/pay_batch.cgi6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi
index 8fe435132..fd14d05bc 100755
--- a/httemplate/search/pay_batch.cgi
+++ b/httemplate/search/pay_batch.cgi
@@ -43,8 +43,10 @@
my $_date = $self->download;
if ( $_date ) {
time2str("%a %b %e %T %Y", $_date);
- } elsif ( $self->status eq 'O' ) {
- 'Download batch';
+ } elsif ( $self->status eq 'O' && $self->type eq 'CREDIT') {
+ 'Download credit batch';
+ } elsif ( $self->status eq 'O' && $self->type eq 'DEBIT') {
+ 'Download batch';
} else {
'';
}