From 982ded2d929bdcdfa72efa810273f3bc753bf036 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Jul 2011 18:34:19 +0000 Subject: per-agent invoice PDF batches, RT#13727 --- httemplate/elements/menu.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'httemplate/elements/menu.html') diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 1064836fb..cd9fe06a1 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -395,8 +395,11 @@ $tools_menu{'Quick payment entry'} = [ $fsurl.'misc/batch-cust_pay.html', 'Ente $tools_menu{'Process payment batches'} = [ $fsurl.'search/pay_batch.cgi?magic=_date;open=1;intransit=1', 'Process credit card and electronic check batches' ] 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'); +$tools_menu{'Download invoice batches'} = [ $fsurl.'search/bill_batch.cgi' ] + 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' ] -- cgit v1.2.1