[freeside-commits] freeside/httemplate/elements menu.html, 1.128, 1.129

Ivan,,, ivan at wavetail.420.am
Wed Jul 20 11:34:21 PDT 2011


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

Modified Files:
	menu.html 
Log Message:
per-agent invoice PDF batches, RT#13727

Index: menu.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/menu.html,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -w -d -r1.128 -r1.129
--- menu.html	1 Jul 2011 22:02:47 -0000	1.128
+++ menu.html	20 Jul 2011 18:34:19 -0000	1.129
@@ -396,7 +396,10 @@
   if ( $conf->exists('batch-enable') || $conf->config('batch-enable_payby') )
      && $curuser->access_right('Process batches');
 $tools_menu{'Download invoice batches'} = [ $fsurl.'search/bill_batch.cgi' ] 
-  if $conf->exists('invoice_print_pdf');
+  if $curuser->access_right('Process invoice batches')
+  || $curuser->access_right('Process global invoice batches')
+  || $curuser->access_right('Configuration'); #XXX remove in 2.5
+  #now there's a standalone event#if $conf->exists('invoice_print_pdf');
 $tools_menu{'Bulk DID Orders'} =  [ $fsurl.'browse/did_order.html', 'View/manage bulk DID orders' ]
   if $curuser->access_right('Import');
 $tools_menu{'Job Queue'} =  [ $fsurl.'search/queue.html', 'View pending job queue' ]



More information about the freeside-commits mailing list