diff options
| author | Mark Wells <mark@freeside.biz> | 2015-12-21 14:41:40 -0800 |
|---|---|---|
| committer | Mark Wells <mark@freeside.biz> | 2015-12-21 14:51:57 -0800 |
| commit | 0fc158f576b404002225284b5dfc1634502f7569 (patch) | |
| tree | 8523c59b98369e15523c54d35cea55acd05eedd0 /httemplate/elements/menu.html | |
| parent | cc76d8abb5dec3012f6c24d18ccef346296b6579 (diff) | |
svc_fiber, #35260
Diffstat (limited to 'httemplate/elements/menu.html')
| -rw-r--r-- | httemplate/elements/menu.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html index fd77d9d28..f4aeec810 100644 --- a/httemplate/elements/menu.html +++ b/httemplate/elements/menu.html @@ -226,10 +226,12 @@ foreach my $svcdb ( FS::part_svc->svc_tables() ) { ]; } + if ( $curuser->access_right("Services: $name: Advanced search") + && $svcdb =~ /^svc_(acct|broadband|hardware|phone|fiber)$/ ) { + $report_svc{"Advanced $lcsname reports"} = - [ $fsurl."search/report_$svcdb.html", '' ] - if $svcdb =~ /^svc_(acct|broadband|hardware|phone)$/ - && $curuser->access_right("Services: $name: Advanced search"); + [ $fsurl."search/report_$svcdb.html", '' ] + } if ( $svcdb eq 'svc_phone' ) { @@ -572,6 +574,10 @@ tie my %config_circuit, 'Tie::IxHash', 'Termination types' => [ $fsurl.'browse/circuit_termination.html', '' ], ; +tie my %config_fiber, 'Tie::IxHash', + 'OLTs' => [ $fsurl.'browse/fiber_olt.html', '' ], +; + tie my %config_export_svc, 'Tie::IxHash', (); if ( $curuser->access_right('Configuration') ) { $config_export_svc{'Service definitions'} = [ $fsurl.'browse/part_svc.cgi', 'Services are items you offer to your customers' ]; @@ -592,6 +598,8 @@ $config_export_svc{'Alarm'} = [ \%config_alarm, '' ] if $curuser->access_right(['Alarm configuration', 'Alarm global configuration']); $config_export_svc{'Circuits'} = [ \%config_circuit, '' ] if $curuser->access_right('Configuration'); +$config_export_svc{'Fiber'} = [ \%config_fiber, '' ] + if $curuser->access_right('Configuration'); $config_export_svc{'Hardware types'} = [ $fsurl.'browse/hardware_class.html', 'Set up hardware type catalog' ] if $curuser->access_right('Configuration'); |
