diff options
author | jeff <jeff> | 2008-08-28 07:38:40 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-08-28 07:38:40 +0000 |
commit | 669bd6b315633c99ac61441198c2c4e45401c36b (patch) | |
tree | af72b9ad7bf116b147700f63f5b2895b0c9c9e5b /httemplate/elements/tr-select-taxoverride.html | |
parent | 2c37cd91ea7951b70ea5d420e989128d78ce0a80 (diff) |
multiple usage classes checkpoint
Diffstat (limited to 'httemplate/elements/tr-select-taxoverride.html')
-rw-r--r-- | httemplate/elements/tr-select-taxoverride.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/httemplate/elements/tr-select-taxoverride.html b/httemplate/elements/tr-select-taxoverride.html new file mode 100644 index 000000000..4954a5566 --- /dev/null +++ b/httemplate/elements/tr-select-taxoverride.html @@ -0,0 +1,18 @@ +% if ( $conf->exists('enable_taxproducts') ) { + <%include('tr-td-label.html', @_) %> + <TD <% $cell_style %>><% include('select-taxoverride.html', @_) %></TD> + </TR> + +% } else { + <INPUT TYPE="hidden" NAME="<% $name %>" VALUE="<% $opt{value} %>"> +% } + +<%init> + +my $conf = new FS::conf; + +my %opt = @_; +my $cell_style = $opt{'cell_style'}? 'STYLE="'. $opt{cell_style}. '"' : ''; +my $name = $opt{name} || 'tax_override'; + +</%init> |