X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fmenu.html;h=627f9c857c7869c25995fa33a2894ad00ab2134c;hb=7621140d9f8945c54523c05bcac8e79693a16a52;hp=215492d7a4720b9e604238ae2207a092206d22fb;hpb=1f67114ee822735e096a6dca47f94635a158b9e4;p=freeside.git diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index 215492d7a..627f9c857 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -191,6 +191,8 @@ tie my %report_financial, 'Tie::IxHash', 'Credit Report' => [ $fsurl.'search/report_cust_credit.html', 'Credit report (by employee and/or date range)' ], 'Payment Report' => [ $fsurl.'search/report_cust_pay.html', 'Payment report (by type and/or date range)' ], ; +$report_financial{'Pending Payment Report'} = [ $fsurl.'search/cust_pay_pending.html?magic=_date;statusNOT=done', 'Pending real-time payments' ] + if $curuser->access_right('View customer pending payments'); $report_financial{'Payment Batch Report'} = [ $fsurl.'search/pay_batch.html', 'Payment batches (by status and/or date range)' ] if $conf->exists('batch-enable') || $conf->config('batch-enable_payby'); $report_financial{'A/R Aging'} = [ $fsurl.'search/report_receivables.html', 'Accounts Receivable Aging report' ]; @@ -365,7 +367,14 @@ $menu{'Reports'} = [ \%report_menu, 'Lists, reporting and graphing' ] $menu{'Tools'} = [ \%tools_menu, 'Tools' ] if keys %tools_menu; $menu{'Configuration'} = [ \%config_menu, 'Configuraiton and setup' ] - if $curuser->access_right('Edit advertising sources') + if $curuser->access_right('Configuration') + || $curuser->access_right('Edit package definitions') + || $curuser->access_right('Edit global package definitions') + || $curuser->access_right('Edit billing events') + || $curuser->access_right('Edit global billing events') + || $curuser->access_right('Dialup configuration') + || $curuser->access_right('Broadband configuration') + || $curuser->access_right('Edit advertising sources') || $curuser->access_right('Edit global advertising sources'); use vars qw($gmenunum);