4 <% $cgi->redirect(popurl(2). "view/cust_main.cgi?".$cust_pkg->getfield('custnum')) %>
9 unless $FS::CurrentUser::CurrentUser->access_right('Unsuspend customer package');
12 my ($query) = $cgi->keywords;
13 $query =~ /^(\d+)$/ || die "Illegal pkgnum";
16 my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
18 my $error = $cust_pkg->unsuspend;