summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_phone.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/svc_phone.cgi')
-rw-r--r--httemplate/edit/svc_phone.cgi17
1 files changed, 17 insertions, 0 deletions
diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi
new file mode 100644
index 000000000..78b849c8d
--- /dev/null
+++ b/httemplate/edit/svc_phone.cgi
@@ -0,0 +1,17 @@
+<% include( 'elements/svc_Common.html',
+ 'name' => 'Phone number',
+ 'table' => 'svc_phone',
+ 'fields' => [qw( countrycode phonenum )], #pin
+ 'labels' => {
+ 'countrycode' => 'Country code',
+ 'phonenum' => 'Phone number',
+ 'pin' => 'PIN',
+ },
+ )
+%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+
+</%init>