summaryrefslogtreecommitdiff
path: root/httemplate/browse/cdr_carrier.html
blob: 3ec95f3924ee35a4cfd3d88ac6afe1b6438af184 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<& elements/browse.html,
     'title'              => 'Carriers',
     'name_singular'      => 'carrier',
     'menubar'            => [ 'Add a new carrier' =>
                                 $p.'edit/cdr_carrier.html',
                             ],
     'query'              => { 'table' => 'cdr_carrier', },
     'count_query'        => 'SELECT COUNT(*) FROM cdr_carrier',
     'header'             => [ 'Carrier', ],
     'fields'             => [ 'carriername', ],
     'links'              => [ $link, ],
     'disableable'        => 1,
     'disabled_statuspos' => 1,
&>
<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

my $link = [ "${p}edit/cdr_carrier.html?", 'carrierid' ];

</%init>