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