diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/misc/enable_or_disable_tax.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/misc/enable_or_disable_tax.html')
-rwxr-xr-x | httemplate/misc/enable_or_disable_tax.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/httemplate/misc/enable_or_disable_tax.html b/httemplate/misc/enable_or_disable_tax.html deleted file mode 100755 index 0efd07d..0000000 --- a/httemplate/misc/enable_or_disable_tax.html +++ /dev/null @@ -1,37 +0,0 @@ -<% include('/elements/header-popup.html', ucfirst($action). ' Tax Rates') %> -<% include('/elements/error.html') %> - -<FORM ACTION="<% popurl(1) %>process/enable_or_disable_tax.html" METHOD=POST> -<INPUT TYPE="hidden" NAME="action" VALUE="<% $action %>"> -<INPUT TYPE="hidden" NAME="data_vendor" VALUE="<% $cgi->param('data_vendor') %>"> -<INPUT TYPE="hidden" NAME="geocode" VALUE="<% $cgi->param('geocode') %>"> -<INPUT TYPE="hidden" NAME="taxclassnum" VALUE="<% $cgi->param('taxclassnum') %>"> -<INPUT TYPE="hidden" NAME="tax_type" VALUE="<% $cgi->param('tax_type') %>"> -<INPUT TYPE="hidden" NAME="tax_cat" VALUE="<% $cgi->param('tax_cat') %>"> -<INPUT TYPE="hidden" NAME="showdisabled" VALUE="<% $cgi->param('showdisabled') |h %>"> - -This will <B><% $action %></B> <% $count %> tax -<% $count == 1 ? 'rate' : 'rates' %>. Are you <B>certain</B> you want to do -this? -<BR><BR><INPUT TYPE="submit" VALUE="Yes"> -</FORM> - -<%init> - -die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); - -my $action = ''; -if ( $cgi->param('action') =~ /^(\w+)$/ ) { - $action = $1; -} - -my ($query, $count_query) = FS::tax_rate::browse_queries(scalar($cgi->Vars)); - -my $count_sth = dbh->prepare($count_query) - or die "Error preparing $count_query: ". dbh->errstr; -$count_sth->execute - or die "Error executing $count_query: ". $count_sth->errstr; -my $count = $count_sth->fetchrow_arrayref->[0]; - -</%init> |