2 % $cgi->param('error', $error);
3 <% $cgi->redirect(popurl(2). "svc_domain.cgi?". $cgi->query_string ) %>
5 <% $cgi->redirect(popurl(3). "view/svc_domain.cgi?$svcnum") %>
10 unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
12 #remove this to actually test the domains!
13 $FS::svc_domain::whois_hack = 1;
15 $cgi->param('svcnum') =~ /^(\d*)$/ or die "Illegal svcnum!";
18 my $new = new FS::svc_domain ( {
20 $_, scalar($cgi->param($_));
21 #} qw(svcnum pkgnum svcpart domain action)
22 } ( fields('svc_domain'), qw( pkgnum svcpart action ) )
26 if ($cgi->param('svcnum')) {
27 $error="Can't modify a domain!";