summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorjeff <jeff>2007-12-28 19:02:28 +0000
committerjeff <jeff>2007-12-28 19:02:28 +0000
commitef8ee716b93223ecc55ca5a29664eca481c58dad (patch)
treea6ca4bba1db6882f5546f54ec19dabda39158852 /httemplate/elements
parent9c8ff35a8e13e6dc650340c877524d2e42096d49 (diff)
advanced account reports (RT#2954)
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/menu.html6
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 ];
}