3 my $fh = $cgi->upload('csvfile');
5 my $error = defined($fh)
6 ? FS::cdr::batch_import( {
8 'format' => $cgi->param('format'),
17 # $cgi->param('error', $error);
18 # print $cgi->redirect( "${p}cust_main-import.cgi
22 <%= include("/elements/header.html",'Import successful') %>
23 <!-- XXX redirect to batch search like the payment entry... -->
24 <%= include("/elements/footer.html",'Import successful') %> <%