From 833839f66761df30a0b0b965ed4314cce32f8f3d 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 Conflicts: httemplate/edit/cust_refund.cgi --- httemplate/edit/cust_refund.cgi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi index d3ce167f0..bea3786f7 100755 --- a/httemplate/edit/cust_refund.cgi +++ b/httemplate/edit/cust_refund.cgi @@ -110,10 +110,13 @@ <% FS::payby->payname($real_payby) %> # <% $real_paymask %> -% if ( $conf->exists("batch-enable") -% || grep $real_payby eq $_, $conf->config('batch-enable_payby') -% ) { -% if ( grep $real_payby eq $_, $conf->config('realtime-disable_payby') ) { +% 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') ) { % } else { -- 2.11.0