summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_phone.cgi
blob: 109fba228042beb4cef9f99de8649b423db87a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<% include( 'elements/svc_Common.html',
               'name'     => 'Phone number',
               'table'    => 'svc_phone',
               'fields'   => [ 'countrycode',
                               { field => 'phonenum',
                                 type  => 'select-did',
                                 label => 'Phone number',
                               },
                               '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>