From 9f73c5d4c0954b3a03bfcb5e010fc288a7071209 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 4 May 2009 00:22:44 +0000 Subject: add menu item and page for d/ling and edit rates with excel. RT#5108 --- httemplate/misc/rate_edit_excel.html | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 httemplate/misc/rate_edit_excel.html (limited to 'httemplate/misc/rate_edit_excel.html') diff --git a/httemplate/misc/rate_edit_excel.html b/httemplate/misc/rate_edit_excel.html new file mode 100644 index 000000000..7d3255301 --- /dev/null +++ b/httemplate/misc/rate_edit_excel.html @@ -0,0 +1,51 @@ +<% include('/elements/header.html', 'Edit rates with Excel' ) %> + +<% include( '/elements/form-file_upload.html', + 'name' => 'RateImportForm', + 'action' => 'process/rate_edit_excel.html', + 'num_files' => 1, + 'fields' => [ 'format' ], #? + 'message' => 'Rate edit successful', + 'url' => $p."browse/rate_region.html", + ) +%> + +<% &ntable("#cccccc", 2) %> + + + 1. Download current rates: + + Download rate spreadsheet + + + + + 2. Edit rates with Excel (or other .XLS-compatible application) + + + <% include( '/elements/file-upload.html', + 'field' => 'file', + 'label' => '3. Upload edited rate file: '. ( ' 'x4 ), #yuck + ) + %> + + + + + + + + + + +<% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + + -- cgit v1.2.1