4 % my $cookie = CGI::Cookie->new( -name => 'freeside_status',
5 % -value => mt('Package unsuspended'),
8 % #$r->headers_out->add( 'Set-Cookie' => $cookie->as_string );
10 -uri => popurl(2). "view/cust_main.cgi?show=packages;custnum=".$cust_pkg->getfield('custnum'),
18 unless $FS::CurrentUser::CurrentUser->access_right('Unsuspend customer package');
21 my ($query) = $cgi->keywords;
22 $query =~ /^(\d+)$/ || die "Illegal pkgnum";
25 my $cust_pkg = qsearchs('cust_pkg',{'pkgnum'=>$pkgnum});
27 my $error = $cust_pkg->unsuspend;