[freeside-commits] branch FREESIDE_3_BRANCH updated. 833839f66761df30a0b0b965ed4314cce32f8f3d
Christopher Burger
burgerc at freeside.biz
Wed Mar 27 09:46:31 PDT 2019
The branch, FREESIDE_3_BRANCH has been updated
via 833839f66761df30a0b0b965ed4314cce32f8f3d (commit)
from 2cac06d64772fe6dd61882ac5fac10a7d620a20d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 833839f66761df30a0b0b965ed4314cce32f8f3d
Author: Christopher Burger <burgerc at freeside.biz>
Date: Wed Mar 27 11:11:22 2019 -0400
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 @@
<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>
-----------------------------------------------------------------------
Summary of changes:
httemplate/edit/cust_refund.cgi | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list