diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-09-11 06:06:33 -0400 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-09-11 06:06:33 -0400 |
commit | dc04294e8be2526714fb652fed479d379e444a32 (patch) | |
tree | 77d4ffa56c944936e9902084260edd13c4e0b57e /httemplate/elements | |
parent | 988d4dcd7e27b38f15edf00ae5b9dd75b9bd0c35 (diff) |
RT# 78547 Future autobill report - dynamic navigation
Diffstat (limited to 'httemplate/elements')
-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 eb065b6..cae0cdb 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')) { |