- # this should wind up in FS::cust_pkg!
- my $agent = qsearchs( 'agent', { 'agentnum' => $agentnum } );
- #my $pkgpart_href = $agent->pkgpart_hashref;
- $error ||= "WARNING: agent $agentnum can't purchase pkgpart ".
- $signup_data->{pkgpart}
- unless $pkgpart_href->{ $signup_data->{pkgpart} };
-