X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Ftax-import.cgi;h=25414b20d43356d506c4c08ec5215d7c1f42d8c6;hb=e10217bff3c14f4b847f00f386076d1f5b762426;hp=9044ac9eb23e69bf3f14a25f5f99c6e52d6b49c4;hpb=6a24254d490f3d023728044daba0765f20f6971e;p=freeside.git diff --git a/httemplate/misc/tax-import.cgi b/httemplate/misc/tax-import.cgi index 9044ac9eb..25414b20d 100644 --- a/httemplate/misc/tax-import.cgi +++ b/httemplate/misc/tax-import.cgi @@ -3,63 +3,64 @@ 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', + 'num_files' => 6, + 'fields' => [ 'format', 'reload' ], + 'message' => 'Tax rates imported', + 'onsubmit' => "document.TaxRateUpload.submitButton.disabled=true;", +&> - +<% &ntable("#cccccc", 2) %> -
-
+ + Format + + + + -<% &ntable("#cccccc", 2) %> - - Format - - - - + + Replace existing data from this vendor + + + + -<% include('/elements/file-upload.html', 'field' => [ 'codefile', - 'plus4file', - 'txmatrix', - 'detail', - ], - 'label' => [ 'code CSV filename', - 'plus4 CSV filename', - 'txmatrix CSV filename', - 'detail CSV filename', - ], - 'callback' => 'gotLoaded', - 'debug' => 0, - ) -%> + <% 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, + ) + %> - + + + + +