remove debug warning
[freeside.git] / httemplate / edit / alarm_station.html
1 <& elements/edit.html,
2      'table'            => 'alarm_station',
3      'name_singular'    => 'central station',
4      'agent_virt'       => 1,
5      'agent_null_right' => 'Alarm global configuration',
6      'fields'           => [
7        { field=>'stationname',  type=>'text',     size=>20 },
8        { field=>'disabled',     type=>'checkbox', value=>'Y' },
9      ],
10      'labels'           => { 'alarmstationnum' => 'Central Station',
11                              'agentnum'        => 'Agent',
12                              'stationname'     => 'Central Station',
13                              'disabled'        => 'Disabled',
14                            },
15      'viewall_dir'      => 'browse',
16 &>
17 <%init>
18
19 die "access denied"
20   unless $FS::CurrentUser::CurrentUser->access_right('Alarm configuration')
21       || $FS::CurrentUser::CurrentUser->access_right('Alarm global configuration');
22
23 </%init>