X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fmenu.html;h=9220073f35dfa971ca286a4df150b557bc76b990;hb=28051580bf12b079a4631647a5c0defc7f55c9dc;hp=eb065b668322443d9a4b0f434a2dc58a71331ef9;hpb=d45dd4a826f314fb5459747590d3e11cd80c211f;p=freeside.git diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index eb065b668..9220073f3 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -418,7 +418,9 @@ if( $curuser->access_right('Financial reports') ) { $report_financial{'Customer Accounting Summary'} = [ $fsurl.'search/report_customer_accounting_summary.html', 'Customer accounting summary report' ]; - $report_financial{'Upcoming Auto-Bill Transactions'} = [ $fsurl.'search/report_future_autobill.html', 'Upcoming auto-bill transactions' ]; + if ( my $report_title = FS::cust_payby->future_autobill_report_title ) { + $report_financial{$report_title} = [ $fsurl.'search/report_future_autobill.html', "$report_title for customers with automatic payment methods (by date)" ]; + } } elsif($curuser->access_right('Receivables report')) { @@ -434,6 +436,8 @@ tie my %report_payable, 'Tie::IxHash', tie my %report_logs, 'Tie::IxHash'; $report_logs{'Billing events'} = [ $fsurl.'search/report_cust_event.html', 'Search billing events by date and status' ] if $curuser->access_right('Billing event reports'); +$report_logs{'Billing event fees'} = [ $fsurl.'search/report_cust_event_fee.html', 'Search fees triggered by billing events' ] + if $curuser->access_right('Billing event reports'); $report_logs{'Credit limit incidents'} = [ $fsurl.'search/report_cust_main_credit_limit.html', '' ] if $curuser->access_right('List rating data'); $report_logs{'System log'} = [ $fsurl.'search/log.html', 'View system events and debugging information.' ],