summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-taxproduct.html
diff options
context:
space:
mode:
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 0000000..f9f192a
--- /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>