1 <% include('/elements/header.html', 'Edit rates with Excel' ) %>
3 <% include( '/elements/form-file_upload.html',
4 'name' => 'RateImportForm',
5 'action' => 'process/rate_edit_excel.html',
7 'fields' => [ 'format' ], #?
8 'message' => 'Rate edit successful',
9 'url' => $p."browse/rate_region.html",
13 <% &ntable("#cccccc", 2) %>
16 <TH ALIGN="left">1. Download current rates:</TH>
18 <A HREF="<%$p%>/browse/rate_region.html?show_rates=1;_type=regions.xls">Download rate spreadsheet</A>
23 <TH ALIGN="left" COLSPAN=2>2. Edit rates with Excel (or other .XLS-compatible application)</TH>
26 <% include( '/elements/file-upload.html',
28 'label' => '3. Upload edited rate file: '. ( ' 'x4 ), #yuck
33 <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px">
34 <INPUT TYPE = "submit"
37 onClick = "document.RateImportForm.submit.disabled=true;"
45 <% include('/elements/footer.html') %>
49 unless $FS::CurrentUser::CurrentUser->access_right('Configuration');