X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pay_batch.cgi;h=15769636618c236a67c5b14c926405d21aa2ddfe;hb=626dbc1a49b6b1dfba94584670a0a0b11ac52148;hp=60dca8cbad1f39fa75643d0c48a20e5d537fe012;hpb=fdbdabb698b904cfb8cdc8befb87a76aa71642e9;p=freeside.git 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') );