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 11:11:22 -0400
commit4a88f08ffbf1c9d2f3da8a6d6d6a7d46e99dbc19 (patch)
treee7727abf4a043204c0736d0c8136164776d4399b
parenta218049cc9560b1bfc98f5803fba18f9f804e11b (diff)
RT# 83082 - fixed so CC refunds cant go to batch
-rwxr-xr-xhttemplate/edit/cust_refund.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/edit/cust_refund.cgi b/httemplate/edit/cust_refund.cgi
index 0a5324a..009ce73 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') ) {