diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-03-27 11:11:22 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-03-27 17:00:46 -0400 |
| commit | b888fee860fa5d346fb218292aa0db2d8f4dc9a8 (patch) | |
| tree | 0b81b8559048f67c75c5ad7e992583dd364bff10 | |
| parent | 37d82e62bc2003e9db049f3e2c22be7380189922 (diff) | |
RT# 83082 - fixed so CC refunds cant go to batch
| -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 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') ) { |
