4 <% include("/elements/header.html",'Import successful') %>
5 <!-- XXX redirect to batch search like the payment entry... -->
6 <% include("/elements/footer.html",'Import successful') %>
11 unless $FS::CurrentUser::CurrentUser->access_right('Import');
13 my $fh = $cgi->upload('filename');
15 my $error = defined($fh)
16 ? FS::inventory_item::batch_import( {
18 'classnum' => $cgi->param('classnum'),