From 4a88f08ffbf1c9d2f3da8a6d6d6a7d46e99dbc19 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 27 Mar 2019 11:11:22 -0400 Subject: [PATCH] RT# 83082 - fixed so CC refunds cant go to batch --- httemplate/edit/cust_refund.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index 0a5324ad2..009ce7321 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -146,7 +146,10 @@ &> % } -% if ( $conf->exists("batch-enable") +% if ($payby eq "CARD" || $payby eq "DCRD") { + +% } +% elsif ( $conf->exists("batch-enable") % || grep $payby eq $_, $conf->config('batch-enable_payby') % ) { % if ( grep $payby eq $_, $conf->config('realtime-disable_payby') ) { -- 2.11.0