This commit was generated by cvs2svn to compensate for changes in r8593,
[freeside.git] / httemplate / edit / svc_phone.cgi
1 <% include( 'elements/svc_Common.html',
2                'name'     => 'Phone number',
3                'table'    => 'svc_phone',
4                'fields'   => [ 'countrycode',
5                                { field => 'phonenum',
6                                  type  => 'select-did',
7                                  label => 'Phone number',
8                                },
9                                'sip_password',
10                                'pin',
11                                'phone_name',
12                              ],
13                'labels'   => {
14                                'countrycode'  => 'Country code',
15                                'phonenum'     => 'Phone number',
16                                'sip_password' => 'SIP password',
17                                'pin'          => 'Voicemail PIN',
18                                'phone_name'   => 'Name',
19                              },
20            )
21 %>
22 <%init>
23
24 die "access denied"
25   unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
26
27 </%init>