summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-02-05 18:30:32 -0600
committerJonathan Prykop <jonathan@freeside.biz>2016-02-05 18:30:32 -0600
commit79c2f0f67a4cb00595ba9c0e63291e95d9a520b5 (patch)
tree197a8e538f2283be27763d62b9aa91e3d1c4edd4
parentac33786c789f76aef8c6bea4726d9bdf301cb04a (diff)
RT#34237 installer scheduling [more tools fixes]
-rw-r--r--httemplate/elements/menu.html21
1 files changed, 15 insertions, 6 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index b14570ebf..84eb511ec 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -499,15 +499,23 @@ tie my %tools_ticketing, 'Tie::IxHash',
$tools_ticketing{'Cron Tool'} = [ $fsurl.'rt/Developer/CronTool/', '' ]
if $conf->exists('rt-crontool');
-tie my %tools_system, 'Tie::IxHash', ();
-$tools_system{'Status'} = [ $fsurl.'view/Status.html', 'System status' ]
- if $curuser->access_right('Configuration'); # 'View system status');
-$tools_system{'Job Queue'} = [ $fsurl.'search/queue.html', 'View pending job queue' ]
- if $curuser->access_right('Job queue');
-
tie my %tools_menu, 'Tie::IxHash', ();
$tools_menu{'Customers'} = [ \%tools_customers, 'Customer tools' ]
if keys %tools_customers;
+$tools_menu{'Quick payment entry'} = [ $fsurl.'misc/batch-cust_pay.html', 'Enter multiple payments in a batch' ]
+ if $curuser->access_right('Post payment batch');
+$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 $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' ]
+ if $curuser->access_right('Job queue');
$tools_menu{'Ticketing'} = [ \%tools_ticketing, 'Ticketing tools' ]
if $conf->config('ticket_system');
$tools_menu{'Customer email settings'} = [ $fsurl.'misc/manage_cust_email.html' ]
@@ -525,6 +533,7 @@ $tools_menu{'Exporting'} = [ \%tools_exporting, 'Export tools' ]
$tools_menu{'Status'} = [ $fsurl.'view/Status.html', 'System status' ]
if $curuser->access_right('Configuration'); # 'View system status');
+
tie my %config_employees, 'Tie::IxHash',
'Employees' => [ $fsurl.'browse/access_user.html', 'Setup internal users' ],
'Employee groups' => [ $fsurl.'browse/access_group.html', 'Employee groups allow you to control access to the backend' ],