summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/addr_block/allocate.cgi
blob: 40d04b369cda911b1e2ac9551a857fb817030ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% include( '../elements/process.html',
            'table'          => 'addr_block',
            'copy_on_empty'  => [ fields 'addr_block' ],
            'error_redirect' => popurl(3). 'allocate.html?',
            'popup_reload'   => 'Block allocated',
          )
%>
<%init>

my $conf = new FS::Conf;
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
  unless $curuser->access_right('Broadband configuration')
      || $curuser->access_right('Broadband global configuration');

</%init>