1 <& elements/browse.html,
2 'title' => 'Service dependencies',
3 'name_singular' => 'dependency',
4 'menubar' => [ 'Add a new service dependency' =>
5 $p.'edit/part_svc_link.html',
7 'query' => { 'table' => 'part_svc_link',
8 'order_by' => 'ORDER BY src_svcpart',
10 'count_query' => 'SELECT COUNT(*) FROM part_svc_link',
11 'header' => [ 'Source', 'Dependency', ],
12 'fields' => [ 'src_svc', 'description', ],
14 'links' => [ $svc_link, $link, ],
16 'disabled_statuspos' => 1,
19 'agent_null_right' => 'Configuration',
20 #agent_null_right_link'
26 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
28 my $svc_link = [ "${p}edit/part_svc.cgi?", 'src_svcpart' ];
30 my $link = [ "${p}edit/part_svc_link.html?", 'svclinknum' ];