X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fcdr-import.html;h=05d0bbc3c05ab92141d835e7ce5f2dc6ae4d2713;hp=62e38b29bd386dcda31543f87d74f0d3a7739273;hb=75e11f1d1a5ced24496b5732e290f7762403feb8;hpb=9d74cea56767d887c7b0a26ec337feb1ff05b96a diff --git a/httemplate/misc/cdr-import.html b/httemplate/misc/cdr-import.html index 62e38b29b..05d0bbc3c 100644 --- a/httemplate/misc/cdr-import.html +++ b/httemplate/misc/cdr-import.html @@ -1,19 +1,50 @@ <% include("/elements/header.html",'Call Detail Record Import') %> -
-Import a CSV file containing Call Detail Records (CDRs).

-CDR Format: - -

- -Filename:

+ +<& /elements/form-file_upload.html, + 'name' => 'CDRImportForm', + 'action' => 'process/cdr-import.html', + 'num_files' => 1, + 'fields' => [ 'format', 'cdrbatch', ], + 'message' => 'CDR import successful', + 'url' => $p."search/cdr.html?cdrbatch=$cdrbatch", + 'onsubmit' => "document.CDRImportForm.submitButton.disabled=true;", +&> + +Import a file containing Call Detail Records (CDRs).

- +<% ntable('#cccccc', 2) %> + + + CDR Format + + + + + + <% include( '/elements/file-upload.html', + 'field' => 'file', + 'label' => 'Filename', + ) + %> + + + + + + + + +
<% include('/elements/footer.html') %>