Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git] / httemplate / misc / tax-fetch_and_import.cgi
1 <% include("/elements/header.html",'Tax Rate Download and Import') %>
2
3 Import a tax data update.
4 <BR><BR>
5
6 <% include( '/elements/progress-init.html', 'TaxRateImport',[ 'format', ],
7               'process/tax-fetch_and_import.cgi', { 'message' => 'Tax rates imported' },
8           )
9 %>
10
11 <FORM NAME="TaxRateImport" ACTION="javascript:void()" METHOD="POST">
12 <% &ntable("#cccccc", 2) %>
13
14   <TR>
15     <TH ALIGN="right">Format</TH>
16     <TD>
17       <SELECT NAME="format">
18         <OPTION VALUE="cch">CCH import
19       </SELECT>
20     </TD>
21   </TR>
22   <TR>
23     <TH ALIGN="right">Update Password</TH>
24     <TD>
25       <INPUT TYPE="text" NAME="password">
26     </TD>
27   </TR>
28
29   <TR>
30     <TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px">
31       <INPUT TYPE    = "submit"
32              VALUE   = "Download and Import"
33              onClick = "document.TaxRateImport.submit.disabled=true; process();"
34       >
35     </TD>
36   </TR>
37
38 </TABLE>
39
40 </FORM>
41
42 <% include('/elements/footer.html') %>
43 <%init>
44
45 die "access denied"
46   unless $FS::CurrentUser::CurrentUser->access_right('Import');
47
48 </%init>