summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2011-01-24 02:56:02 +0000
committerivan <ivan>2011-01-24 02:56:02 +0000
commit69b3b149f2a83cf280022388b1cd37e62990c721 (patch)
tree388d1470da593865ad8e7f95d043afb9dbb60b22 /httemplate/edit
parent09f8c585713778224eafa929d2ec3d83a3f8339a (diff)
torrus, RT#10574
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/svc_port.cgi25
1 files changed, 25 insertions, 0 deletions
diff --git a/httemplate/edit/svc_port.cgi b/httemplate/edit/svc_port.cgi
new file mode 100644
index 000000000..e17b38087
--- /dev/null
+++ b/httemplate/edit/svc_port.cgi
@@ -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>
+