From 38f5c59a6a3b92881c0f60bc8dccc9acd0feef41 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Fri, 15 Mar 2019 11:29:50 -0400 Subject: RT# 83044 - fixed cc refund issues --- httemplate/search/elements/cust_pay_batch_top.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/search') 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 -- cgit v1.2.1