[freeside-commits] branch FREESIDE_4_BRANCH updated. b888fee860fa5d346fb218292aa0db2d8f4dc9a8

Christopher Burger burgerc at freeside.biz
Wed Mar 27 18:55:49 PDT 2019


The branch, FREESIDE_4_BRANCH has been updated
       via  b888fee860fa5d346fb218292aa0db2d8f4dc9a8 (commit)
      from  37d82e62bc2003e9db049f3e2c22be7380189922 (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 b888fee860fa5d346fb218292aa0db2d8f4dc9a8
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

diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi
index 0a5324ad2..009ce7321 100755
--- a/httemplate/edit/cust_refund.cgi
+++ b/httemplate/edit/cust_refund.cgi
@@ -146,7 +146,10 @@
   &>
 % }
 
-% if ( $conf->exists("batch-enable")
+% 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') ) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/edit/cust_refund.cgi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list