RT# 75817 - updated UI to be more intuitive
[freeside.git] / httemplate / misc / tax-fetch_and_replace.cgi
1 <% include("/elements/header.html",'Tax Rate Download and Import') %>
2
3 Replace tax data.
4 <BR><BR>
5
6 <% include( '/elements/progress-init.html', 'TaxRateImport',[ 'format', ],
7               'process/tax-fetch_and_replace.cgi', { 'message' => 'Tax rates replaced' },
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              NAME    = "submitButton"
33              VALUE   = "Download and Import"
34              onClick = "document.TaxRateImport.submitButton.disabled=true; process();"
35       >
36     </TD>
37   </TR>
38
39 </TABLE>
40
41 </FORM>
42
43 <% include('/elements/footer.html') %>
44 <%init>
45
46 die "access denied"
47   unless $FS::CurrentUser::CurrentUser->access_right('Import');
48
49 </%init>