From 4ec6dfa446447d68663b01fbfda07c0bd2fcb3ae Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 13 Apr 2008 02:56:28 +0000 Subject: [PATCH] add elements for selecting taxproduct --- httemplate/elements/select-taxproduct.html | 23 +++++++++++++++++++ httemplate/elements/tr-select-taxproduct.html | 22 ++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 httemplate/elements/select-taxproduct.html create mode 100644 httemplate/elements/tr-select-taxproduct.html diff --git a/httemplate/elements/select-taxproduct.html b/httemplate/elements/select-taxproduct.html new file mode 100644 index 000000000..f2ae9ebcb --- /dev/null +++ b/httemplate/elements/select-taxproduct.html @@ -0,0 +1,23 @@ +<% ntable("#cccccc", 2) %> + + Tax product + + + + + + + + + + <% $opt{tax_override} ? 'Edit tax overrides' : 'Override taxes' %> + + + + + +<%init> + +my %opt = @_; + + 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') ) { + + + + <% include('select-taxproduct.html', @_) %> + + + +% } else { + + + + +% } + +<%init> + +my $conf = new FS::Conf; + +my %opt = @_; + + -- 2.20.1