import torrus 1.0.9
[freeside.git] / httemplate / edit / process / addr_block / allocate.cgi
1 <% include( '../elements/process.html',
2             'table'          => 'addr_block',
3             'copy_on_empty'  => [ fields 'addr_block' ],
4             'error_redirect' => popurl(3). 'allocate.html?',
5             'popup_reload'   => 'Block allocated',
6           )
7 %>
8 <%init>
9
10 my $conf = new FS::Conf;
11 my $curuser = $FS::CurrentUser::CurrentUser;
12 die "access denied"
13   unless $curuser->access_right('Broadband configuration')
14       || $curuser->access_right('Broadband global configuration');
15
16 </%init>