summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-taxproduct.html
diff options
context:
space:
mode:
authorivan <ivan>2008-04-13 02:56:28 +0000
committerivan <ivan>2008-04-13 02:56:28 +0000
commit4ec6dfa446447d68663b01fbfda07c0bd2fcb3ae (patch)
treec947d6af3fd85e87754b70e0029dc485ea9b19ba /httemplate/elements/tr-select-taxproduct.html
parent311c04a5c63df131c6c5d74568c9e426f73955eb (diff)
add elements for selecting taxproduct
Diffstat (limited to 'httemplate/elements/tr-select-taxproduct.html')
-rw-r--r--httemplate/elements/tr-select-taxproduct.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-taxproduct.html b/httemplate/elements/tr-select-taxproduct.html
new file mode 100644
index 000000000..f9f192a28
--- /dev/null
+++ b/httemplate/elements/tr-select-taxproduct.html
@@ -0,0 +1,22 @@
+% if ( $conf->exists('enable_taxproducts') ) {
+
+ <TR>
+ <TD COLSPAN="2">
+ <% include('select-taxproduct.html', @_) %>
+ </TD>
+ </TR>
+
+% } else {
+
+ <INPUT TYPE="hidden" NAME="taxproductnum" VALUE="<% $opt{taxproductnum} %>">
+ <INPUT TYPE="hidden" NAME="tax_override" VALUE="<% $opt{tax_override} %>">
+
+% }
+
+<%init>
+
+my $conf = new FS::Conf;
+
+my %opt = @_;
+
+</%init>