summaryrefslogtreecommitdiff
path: root/httemplate/edit/tax_class.html
blob: d3e2e821ffeaf181d4147c02e53827ac9b464e07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<% include('/elements/header.html', "$action taxclass") %>

<% include('/elements/error.html') %>

<FORM ACTION="<% $p1 %>process/tax_class.html" METHOD=POST>

<INPUT TYPE="hidden" NAME="taxclassnum" VALUE="">
<INPUT TYPE="hidden" NAME="data_vendor" VALUE="">

Tax class <INPUT TYPE="text" NAME="taxclass" VALUE="<% $taxclass |h %>"><BR>
Description <INPUT TYPE="text" NAME="description" VALUE="<% $description |h %>">

<BR><BR>
<INPUT TYPE="submit" VALUE="<% $action %> taxclass">

</FORM>

<% include('/elements/footer.html') %>

<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Configuration');

my $taxclass = '';
my $description = '';
if ( $cgi->param('error') ) {
  $taxclass = $cgi->param('taxclass');
  $description = $cgi->param('description');
}

my $action = 'Add';

my $p1 = popurl(1);

</%init>