diff options
author | jeff <jeff> | 2007-12-28 18:58:22 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-12-28 18:58:22 +0000 |
commit | ba6b03c35894ebe16900fc3099aec319152fac4b (patch) | |
tree | 1e072cbd067fe4d14c62d7a3abf6d07ed2d40588 /httemplate/elements | |
parent | 69ba0d1dfefc3e7cc80c1323685eeb15503ef22b (diff) |
advanced account reports (RT#2954)
Diffstat (limited to 'httemplate/elements')
-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 d813a82b4..84787321a 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' ]; @@ -142,6 +143,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 ]; } |