30747 Fix debian deps for upgrades
[freeside.git] / httemplate / browse / part_svc_link.html
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',
6                              ],
7      'query'              => { 'table'    => 'part_svc_link',
8                                'order_by' => 'ORDER BY src_svcpart',
9                              },
10      'count_query'        => 'SELECT COUNT(*) FROM part_svc_link',
11      'header'             => [ 'Source', 'Dependency', ],
12      'fields'             => [ 'src_svc', 'description', ],
13      'sort_fields'        => [],
14      'links'              => [ $svc_link, $link, ],
15      'disableable'        => 1,
16      'disabled_statuspos' => 1,
17      'agent_virt'         => 1,
18      'agent_null'         => 1,
19      'agent_null_right'   => 'Configuration',
20      #agent_null_right_link'
21      'agent_pos'          => 0,
22 &>
23 <%init>
24
25 die "access denied"
26   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
27
28 my $svc_link = [ "${p}edit/part_svc.cgi?", 'src_svcpart' ];
29
30 my $link = [ "${p}edit/part_svc_link.html?", 'svclinknum' ];
31
32 </%init>