summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_pay_batch.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_pay_batch.cgi')
-rwxr-xr-xhttemplate/search/cust_pay_batch.cgi4
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')
);