X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Ftax-import.cgi;h=9581a797544387f11356acca8e6c639f51933659;hb=c22d84e565ab16db142395dce2e8621624eff140;hp=15f09d518eb088a0bcb73147de9c792b4e4a0c7a;hpb=5d4d60dd8cbe71a96256b6c375f01e0182296f18;p=freeside.git
diff --git a/httemplate/misc/tax-import.cgi b/httemplate/misc/tax-import.cgi
index 15f09d518..9581a7975 100644
--- a/httemplate/misc/tax-import.cgi
+++ b/httemplate/misc/tax-import.cgi
@@ -1,49 +1,50 @@
-<% 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/form-file_upload.html',
- 'name' => 'TaxRateUpload',
- 'action' => 'process/tax-import.cgi',
- 'num_files' => 4,
- 'fields' => [ 'format', ],
- '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;",
+&>
-<% &ntable("#cccccc", 2) %>
+<& /elements/table-grid.html &>