[freeside-commits] freeside/httemplate/search cust_pay_batch.cgi, 1.8, 1.9

Ivan,,, ivan at wavetail.420.am
Wed Oct 15 22:29:02 PDT 2008


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv1859/httemplate/search

Modified Files:
	cust_pay_batch.cgi 
Log Message:
add batch-enable_payby and realtime_disable_payby for better control over hybrid realtime/batch installs; deprecate never-used paymentforcedtobatch, RT#4052

Index: cust_pay_batch.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_pay_batch.cgi,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cust_pay_batch.cgi	13 Jan 2008 20:57:36 -0000	1.8
+++ cust_pay_batch.cgi	16 Oct 2008 05:29:00 -0000	1.9
@@ -63,7 +63,9 @@
   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')
          );
 



More information about the freeside-commits mailing list