summaryrefslogtreecommitdiff
path: root/httemplate/edit/alarm_system.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-09 14:43:35 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-09 14:43:35 -0800
commita3bc8ae55eb80d4517c64eaeb4b08df3ddf867f6 (patch)
treed764e93363c97d18e05dcff46beac4c7a4f59ece /httemplate/edit/alarm_system.html
parent49a0b5d01cfa15be787539edfff5ba4875ca3c3e (diff)
alarm systems, types, central stations, RT#25994
Diffstat (limited to 'httemplate/edit/alarm_system.html')
-rw-r--r--httemplate/edit/alarm_system.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/httemplate/edit/alarm_system.html b/httemplate/edit/alarm_system.html
new file mode 100644
index 000000000..c9e0076c6
--- /dev/null
+++ b/httemplate/edit/alarm_system.html
@@ -0,0 +1,23 @@
+<& elements/edit.html,
+ 'table' => 'alarm_system',
+ 'name_singular' => 'vendor',
+ 'agent_virt' => 1,
+ 'agent_null_right' => 'Alarm global configuration',
+ 'fields' => [
+ { field=>'systemname', type=>'text', size=>20 },
+ { field=>'disabled', type=>'checkbox', value=>'Y' },
+ ],
+ 'labels' => { 'alarmsystemnum' => 'Vendor',
+ 'agentnum' => 'Agent',
+ 'systemname' => 'Vendor',
+ 'disabled' => 'Disabled',
+ },
+ 'viewall_dir' => 'browse',
+&>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Alarm configuration')
+ || $FS::CurrentUser::CurrentUser->access_right('Alarm global configuration');
+
+</%init>