% include("/elements/header.html",'Batch Tax Rate Import') %>
Import a CSV file set containing tax rate records.
<& /elements/form-file_upload.html,
     'name'      => 'TaxRateUpload',
     'action'    => 'process/tax-import.cgi', 
     'num_files' => 6,
     'fields'    => [ 'format', 'reload' ],
     'message'   => 'Tax rates imported',
     'onsubmit'  => "document.TaxRateUpload.submitButton.disabled=true;",
&>
<% &ntable("#cccccc", 2) %>
  
    | Format |  | 
  
    | Replace existing data from this vendor |  | 
  <% include( '/elements/file-upload.html',
                'field'    => [ 'geocodefile',
                                'codefile',
                                'plus4file',
                                'zipfile',
                                'txmatrixfile',
                                'detailfile',
                              ],
                'label'    => [ 'geocode filename',
                                'code filename',
                                'plus4 filename',
                                'zip filename',
                                'txmatrix filename',
                                'detail filename',
                              ],
                'debug'    => 0,
            )
  %>
  
    |  | 
<% include('/elements/footer.html') %>
<%init>
die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Import');
%init>