summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/phone_device.html
blob: df9d5e79341ea2f92e11b728594c6013a922a545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<% include( 'elements/process.html',
               'table'    => 'phone_device',
               'redirect' => sub {
                 my( $cgi, $phone_device ) = @_;
                 popurl(3).'view/svc_phone.cgi?'.
                   'svcnum='. $phone_device->svcnum.
                   ';devicenum=';
               },
           )
%>
<%init>

# :/  needs agent-virt so you can't futz with arbitrary devices

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?

</%init>