summaryrefslogtreecommitdiff
path: root/httemplate/view
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-10 19:12:20 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-11 17:51:49 -0400
commit7c079bd8cb5ccf5381ac0c054438efcd0645ddbf (patch)
tree7747111d708a6e00e33d62368ef985e4472b36ef /httemplate/view
parent038ad47addd4168c74165c4a79051e4d2599258e (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/view')
-rw-r--r--httemplate/view/cust_main/payment_history/payment.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/payment_history/payment.html b/httemplate/view/cust_main/payment_history/payment.html
index cc5789b75..3fe588b52 100644
--- a/httemplate/view/cust_main/payment_history/payment.html
+++ b/httemplate/view/cust_main/payment_history/payment.html
@@ -177,6 +177,7 @@ if ( $cust_pay->closed !~ /^Y/i
qq! TITLE="! . $refundtitle
. '">' . emt('refund') . '</A>)';
}
+$refund = '' if ($cust_pay->batchnum && !FS::pay_batch->can_handle_electronic_refunds);
my $void = '';
my $voidmsg = $cust_pay->payby =~ /^(CARD|CHEK)$/