diff options
| author | ivan <ivan> | 2008-10-16 05:35:36 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2008-10-16 05:35:36 +0000 |
| commit | e6933999c7934c9c856c027e8f0b913c6fcb223e (patch) | |
| tree | 12d0fb2d704c3a19833b4b7da06c176a1d33fb29 /httemplate/search/cust_pay_batch.cgi | |
| parent | a6f1e8927a9f2584b3a4c88285e17cf21793593a (diff) | |
add batch-enable_payby and realtime_disable_payby for better control over hybrid realtime/batch installs; deprecate never-used paymentforcedtobatch, RT#4052
Diffstat (limited to 'httemplate/search/cust_pay_batch.cgi')
| -rwxr-xr-x | httemplate/search/cust_pay_batch.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi index 60dca8cba..157696366 100755 --- a/httemplate/search/cust_pay_batch.cgi +++ b/httemplate/search/cust_pay_batch.cgi @@ -63,7 +63,9 @@ die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Financial reports') || $FS::CurrentUser::CurrentUser->access_right('Process batches') || ( $cgi->param('custnum') - && $conf->exists('batch-enable') + && ( $conf->exists('batch-enable') + || $conf->config('batch-enable_payby') + ) #&& $FS::CurrentUser::CurrentUser->access_right('View customer batched payments') ); |
