diff options
Diffstat (limited to 'httemplate/elements/menu.html')
-rw-r--r-- | httemplate/elements/menu.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index a3a17c253..5908dbc83 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -105,6 +105,7 @@ foreach my $svcdb ( FS::part_svc->svc_tables() ) { my $name = "FS::$svcdb"->table_info->{'name_plural'} || PL( "FS::$svcdb"->table_info->{'name'} ); my $lcname = lc($name); + my $lcsname = lc("FS::$svcdb"->table_info->{'name'}); my $longname = "FS::$svcdb"->table_info->{'longname_plural'} || $name; my $lclongname = lc($longname); my $sorts = "FS::$svcdb"->table_info->{'sorts'} || [ 'svcnum' ]; @@ -145,6 +146,11 @@ foreach my $svcdb ( FS::part_svc->svc_tables() ) { ]; } + if ( $svcdb eq 'svc_acct' ) { + $report_svc{"Advanced $lcsname reports"} = + [ $fsurl."search/report_$svcdb.html", '' ]; + } + $report_services{$name} = [ \%report_svc, $longname ]; } |