diff options
Diffstat (limited to 'httemplate/edit/svc_phone.cgi')
-rw-r--r-- | httemplate/edit/svc_phone.cgi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/httemplate/edit/svc_phone.cgi b/httemplate/edit/svc_phone.cgi new file mode 100644 index 000000000..d7629ab6f --- /dev/null +++ b/httemplate/edit/svc_phone.cgi @@ -0,0 +1,27 @@ +<% include( 'elements/svc_Common.html', + 'name' => 'Phone number', + 'table' => 'svc_phone', + 'fields' => [ 'countrycode', + { field => 'phonenum', + type => 'select-did', + label => 'Phone number', + }, + 'sip_password', + 'pin', + 'phone_name', + ], + 'labels' => { + 'countrycode' => 'Country code', + 'phonenum' => 'Phone number', + 'sip_password' => 'SIP password', + 'pin' => 'Voicemail PIN', + 'phone_name' => 'Name', + }, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific? + +</%init> |