summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg_taxclass.html
diff options
context:
space:
mode:
authorivan <ivan>2008-02-20 01:21:15 +0000
committerivan <ivan>2008-02-20 01:21:15 +0000
commit1d920e3661c29398763d05c82bbe3a493a19fbae (patch)
tree31d979a1ccd6559eace6d7f07675ba3176054c86 /httemplate/edit/part_pkg_taxclass.html
parent70838ab866bfcb2d596ed2ca96bb2c23c6cba5c1 (diff)
update the tax class editor to enable taxclass adding, RT#2929
Diffstat (limited to 'httemplate/edit/part_pkg_taxclass.html')
-rw-r--r--httemplate/edit/part_pkg_taxclass.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg_taxclass.html b/httemplate/edit/part_pkg_taxclass.html
new file mode 100644
index 000000000..e76705722
--- /dev/null
+++ b/httemplate/edit/part_pkg_taxclass.html
@@ -0,0 +1,32 @@
+<% include('/elements/header.html', "$action taxclass") %>
+
+<% include('/elements/error.html') %>
+
+<FORM ACTION="<% $p1 %>process/part_pkg_taxclass.html" METHOD=POST>
+
+<INPUT TYPE="hidden" NAME="taxclassnum" VALUE="">
+
+Tax class <INPUT TYPE="text" NAME="taxclass" VALUE="<% $taxclass |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 = '';
+if ( $cgi->param('error') ) {
+ $taxclass = $cgi->param('taxclass');
+}
+
+my $action = 'Add';
+
+my $p1 = popurl(1);
+
+</%init>