X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-taxproduct.html;h=9512224751055d55a777a567e5abe672abba6587;hb=669bd6b315633c99ac61441198c2c4e45401c36b;hp=f9f192a28b95c89d5b833c1138d14a8474c386f1;hpb=2c37cd91ea7951b70ea5d420e989128d78ce0a80;p=freeside.git diff --git a/httemplate/elements/tr-select-taxproduct.html b/httemplate/elements/tr-select-taxproduct.html index f9f192a28..951222475 100644 --- a/httemplate/elements/tr-select-taxproduct.html +++ b/httemplate/elements/tr-select-taxproduct.html @@ -1,22 +1,18 @@ % if ( $conf->exists('enable_taxproducts') ) { - - - - <% include('select-taxproduct.html', @_) %> - - + <%include('tr-td-label.html', @_) %> + ><% include('select-taxproduct.html', @_) %> + % } else { - - - - + % } <%init> -my $conf = new FS::Conf; +my $conf = new FS::conf; my %opt = @_; +my $cell_style = $opt{cell_style} ? 'STYLE="'. $opt{cell_style}. '"' : ''; +my $name = $opt{name} || 'taxproductnum';