From: Christopher Burger Date: Wed, 27 Mar 2019 15:11:22 +0000 (-0400) Subject: RT# 83082 - fixed so CC refunds cant go to batch X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=833839f66761df30a0b0b965ed4314cce32f8f3d RT# 83082 - fixed so CC refunds cant go to batch Conflicts: httemplate/edit/cust_refund.cgi --- 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 {