Reverted menu-left-example.png back to original and cleaned up menu-top-example to...
[freeside.git] / httemplate / edit / tax_class.html
1 <% include('/elements/header.html', "$action taxclass") %>
2
3 <% include('/elements/error.html') %>
4
5 <FORM ACTION="<% $p1 %>process/tax_class.html" METHOD=POST>
6
7 <INPUT TYPE="hidden" NAME="taxclassnum" VALUE="">
8 <INPUT TYPE="hidden" NAME="data_vendor" VALUE="">
9
10 Tax class <INPUT TYPE="text" NAME="taxclass" VALUE="<% $taxclass |h %>"><BR>
11 Description <INPUT TYPE="text" NAME="description" VALUE="<% $description |h %>">
12
13 <BR><BR>
14 <INPUT TYPE="submit" VALUE="<% $action %> taxclass">
15
16 </FORM>
17
18 <% include('/elements/footer.html') %>
19
20 <%init>
21
22 die "access denied"
23   unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
24
25 my $taxclass = '';
26 my $description = '';
27 if ( $cgi->param('error') ) {
28   $taxclass = $cgi->param('taxclass');
29   $description = $cgi->param('description');
30 }
31
32 my $action = 'Add';
33
34 my $p1 = popurl(1);
35
36 </%init>