diff options
-rwxr-xr-x | httemplate/edit/cust_refund.cgi | 5 |
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') ) { |