diff options
| author | mark <mark> | 2011-04-01 02:52:24 +0000 |
|---|---|---|
| committer | mark <mark> | 2011-04-01 02:52:24 +0000 |
| commit | b65b8096089410001dfbcd35f9a56f9405b9f5f1 (patch) | |
| tree | df16b0422007bd876bc969bdff857d8a510b0aca /httemplate/elements/menu.html | |
| parent | 19b0c403fbf697a1de92f12abc8a2104daca07bc (diff) | |
svc_hardware and svc_dish, #11454
Diffstat (limited to 'httemplate/elements/menu.html')
| -rw-r--r-- | httemplate/elements/menu.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index a70abe475..f558777b5 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -191,7 +191,7 @@ foreach my $svcdb ( FS::part_svc->svc_tables() ) { ]; } - if ( $svcdb eq 'svc_acct' || $svcdb eq 'svc_broadband' ) { + if ( $svcdb =~ /^svc_(acct|broadband|hardware)$/ ) { $report_svc{"Advanced $lcsname reports"} = [ $fsurl."search/report_$svcdb.html", '' ]; } @@ -532,6 +532,9 @@ $config_misc{'Inventory classes and inventory'} = [ $fsurl.'browse/inventory_cla || $curuser->access_right('Edit global inventory') || $curuser->access_right('Configuration'); +$config_misc{'Hardware types'} = [ $fsurl.'browse/hardware_class.html', 'Set up hardware type catalog' ] + if $curuser->access_right('Configuration'); + tie my %config_menu, 'Tie::IxHash'; if ( $curuser->access_right('Configuration' ) ) { %config_menu = ( |
