X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Ftax-import.cgi;h=9581a797544387f11356acca8e6c639f51933659;hp=9044ac9eb23e69bf3f14a25f5f99c6e52d6b49c4;hb=b71b1576c68bc40ad26592b354feace37a029f0e;hpb=6a24254d490f3d023728044daba0765f20f6971e
diff --git a/httemplate/misc/tax-import.cgi b/httemplate/misc/tax-import.cgi
index 9044ac9eb..9581a7975 100644
--- a/httemplate/misc/tax-import.cgi
+++ b/httemplate/misc/tax-import.cgi
@@ -1,65 +1,53 @@
-<% include("/elements/header.html",'Batch Tax Rate Import') %>
+<& /elements/header.html,'Batch Tax Rate Import' &>
Import a CSV file set containing tax rate records.
-<% include( '/elements/progress-init.html',
- 'TaxRateUpload',
- [ 'format', 'uploaded_files' ],
- 'process/tax-import.cgi',
- { 'message' => 'Tax rates imported' },
- )
-%>
+<& /elements/form-file_upload.html,
+ 'name' => 'TaxRateUpload',
+ 'action' => 'process/tax-import.cgi',
+ 'fields' => [ 'format', 'reload' ],
+ 'num_files' => $vendor_info{$data_vendor}->{num_files},
+ 'message' => 'Tax rates imported',
+ 'onsubmit' => "document.TaxRateUpload.submitButton.disabled=true;",
+&>
-
-
-