X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Ftax-import.cgi;h=ceb74645cde12314087b0470658883c0c3eb7799;hb=f7e5e7625b04164ce2e0aac77a85bc03a7d48a6f;hp=9044ac9eb23e69bf3f14a25f5f99c6e52d6b49c4;hpb=6a24254d490f3d023728044daba0765f20f6971e;p=freeside.git diff --git a/httemplate/misc/tax-import.cgi b/httemplate/misc/tax-import.cgi index 9044ac9eb..ceb74645c 100644 --- a/httemplate/misc/tax-import.cgi +++ b/httemplate/misc/tax-import.cgi @@ -3,63 +3,63 @@ 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' }, +<% include( '/elements/form-file_upload.html', + 'name' => 'TaxRateUpload', + 'action' => 'process/tax-import.cgi', + 'num_files' => 6, + 'fields' => [ 'format', 'reload' ], + 'message' => 'Tax rates imported', ) %> - +<% &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, + ) + %> - + + + + +