diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 13:02:28 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-09-13 13:02:28 -0700 |
| commit | dfeca08f8d935d127d99de4690e2d5edf4f78b95 (patch) | |
| tree | 610fb469c9ccdfffb923f1a002659c96e897bfab /httemplate/elements/menu.html | |
| parent | 833cfe5c9938d33c3e6b97ed610c25a7afa6eb04 (diff) | |
| parent | 0682747829a56d487155e28675c133cb90f991de (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements/menu.html')
| -rw-r--r-- | httemplate/elements/menu.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index eb065b668..cae0cdbfb 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')) { |
