projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe14c0f
)
RT# 78547 Future autobill report - dynamic navigation
author
Mitch Jackson
<mitch@freeside.biz>
Tue, 11 Sep 2018 10:06:33 +0000
(06:06 -0400)
committer
Mitch Jackson
<mitch@freeside.biz>
Wed, 19 Sep 2018 16:06:06 +0000
(12:06 -0400)
httemplate/elements/menu.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/menu.html
b/httemplate/elements/menu.html
index
02a5067
..
7ab5edc
100644
(file)
--- 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{'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')) {
} elsif($curuser->access_right('Receivables report')) {