torrus, RT#10574
[freeside.git] / httemplate / edit / svc_port.cgi
diff --git a/httemplate/edit/svc_port.cgi b/httemplate/edit/svc_port.cgi
new file mode 100644 (file)
index 0000000..e17b380
--- /dev/null
@@ -0,0 +1,25 @@
+<% include('elements/svc_Common.html',
+             'name'   => 'Port',
+             'table'  => 'svc_port',
+             'fields' => \@fields,
+             'labels' => \%labels,
+             'post_url' => popurl(1). "process/svc_Common.html", #?
+          )
+%>
+<%init>
+
+die "access denied"
+  unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+
+my @fields = (
+  { 'field' => 'serviceid',
+    'type'  => 'select-torrus_serviceid',
+    #'label' => 'Torrus serviceid',
+  },
+);
+
+my %labels = ( 'svcnum'    => 'Service',
+               'serviceid' => 'Torrus serviceid', );
+
+</%init>
+