summaryrefslogtreecommitdiff
path: root/httemplate/search/elements
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-15 11:29:50 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-15 11:29:50 -0400
commit38f5c59a6a3b92881c0f60bc8dccc9acd0feef41 (patch)
tree42ba5cacaead27b0bf05fadaa0fc5a664c79d9dd /httemplate/search/elements
parentbb201b08e3f48784cd77979dd4e31e866aa4f15d (diff)
RT# 83044 - fixed cc refund issues
Diffstat (limited to 'httemplate/search/elements')
-rw-r--r--httemplate/search/elements/cust_pay_batch_top.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/cust_pay_batch_top.html b/httemplate/search/elements/cust_pay_batch_top.html
index 90fc9e449..d29e487b2 100644
--- a/httemplate/search/elements/cust_pay_batch_top.html
+++ b/httemplate/search/elements/cust_pay_batch_top.html
@@ -146,7 +146,7 @@ tie my %upload_formats, 'Tie::IxHash', (
delete $upload_formats{'td_eft1464'};
$upload_formats{'PAP'} = '264 byte results for TD Canada Trust PAP Batch';
-if ($pay_batch->type eq "CREDIT") {
+if ($pay_batch->type eq "CREDIT" && $pay_batch->payby eq "CHEK") {
foreach my $key (keys %download_formats) {
delete $download_formats{$key} unless FS::pay_batch->can_handle_electronic_refunds($key);
## remove default format if unable to handle electronic refunds