RT# 83082 - fixed so CC refunds cant go to batch
authorChristopher Burger <burgerc@freeside.biz>
Wed, 27 Mar 2019 15:11:22 +0000 (11:11 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Wed, 27 Mar 2019 16:43:32 +0000 (12:43 -0400)
Conflicts:
httemplate/edit/cust_refund.cgi

httemplate/edit/cust_refund.cgi

index d3ce167..bea3786 100755 (executable)
     <TD BGCOLOR="#ffffff"><% FS::payby->payname($real_payby) %> # <% $real_paymask %></TD>
   </TR>
 
-%  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") {
+          <INPUT TYPE="hidden" NAME="batch" VALUE="">
+% }
+% elsif ( $conf->exists("batch-enable")
+%      || grep $payby eq $_, $conf->config('batch-enable_payby')
+% ) {
+%     if ( grep $payby eq $_, $conf->config('realtime-disable_payby') ) {
           <INPUT TYPE="hidden" NAME="batch" VALUE="1">
 %     } else {
         <TR>