4 <% $cgi->redirect(popurl(2)."view/cust_main.cgi?$custnum") %>
9 unless $FS::CurrentUser::CurrentUser->access_right('Unprovision customer service');
12 my($query) = $cgi->keywords;
16 #my $svc_acct = qsearchs('svc_acct',{'svcnum'=>$svcnum});
17 #die "Unknown svcnum!" unless $svc_acct;
19 my $cust_svc = qsearchs('cust_svc',{'svcnum'=>$svcnum});
20 die "Unknown svcnum!" unless $cust_svc;
22 my $custnum = $cust_svc->cust_pkg->custnum;
24 my $error = $cust_svc->cancel;