[freeside-commits] branch master updated. 4a88f08ffbf1c9d2f3da8a6d6d6a7d46e99dbc19

Christopher Burger burgerc at freeside.biz
Wed Mar 27 08:22:58 PDT 2019


The branch, master has been updated
       via  4a88f08ffbf1c9d2f3da8a6d6d6a7d46e99dbc19 (commit)
      from  a218049cc9560b1bfc98f5803fba18f9f804e11b (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 4a88f08ffbf1c9d2f3da8a6d6d6a7d46e99dbc19
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