summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-03-27 11:11:22 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-03-27 12:43:32 -0400
commit833839f66761df30a0b0b965ed4314cce32f8f3d (patch)
tree207708559a60309d438875293f993b9b7002abd3
parent2cac06d64772fe6dd61882ac5fac10a7d620a20d (diff)
RT# 83082 - fixed so CC refunds cant go to batch
Conflicts: httemplate/edit/cust_refund.cgi
-rwxr-xr-xhttemplate/edit/cust_refund.cgi11
1 files 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 @@
<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>