fix FK upgrade for pkg_referral: remove records referencing non-existant customer...
[freeside.git] / httemplate / browse / conferencing_type.html
1 <& elements/browse.html,
2      'title'              => 'Conferencing types',
3      'html_init'          => $html_init,
4      'name_singular'      => 'type',
5      'disableable'        => 1,
6      'disabled_statuspos' => 1,
7      'query'              => { 'table'     => 'conferencing_type',
8                                'hashref'   => {},
9                                'order_by' => 'ORDER BY typeid',
10                              },
11      'count_query'        => $count_query,
12      'header'             => $header,
13      'fields'             => $fields,
14      'links'              => $links,
15 &>
16 <%init>
17
18 die "access denied"
19   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
20
21 my $html_init =
22   qq!<A HREF="${p}edit/conferencing_type.html"><I>Add a conferencing type</I></A><BR><BR>!;
23
24 my $count_query = 'SELECT COUNT(*) FROM conferencing_type';
25
26 my $link = [ $p.'edit/conferencing_type.html?', 'conftypenum' ];
27
28 my $header = [ 'ID', 'Type' ];
29 my $fields = [ 'typeid', 'typename' ];
30 my $links  = [ $link, $link ];
31
32 </%init>