X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-taxproduct.html;h=759d0c01c03d6a17a4f19ade81362417f5ed70f4;hb=ea3ce8d7f076e7fecff4be7ae63bc413adb0adf5;hp=f9f192a28b95c89d5b833c1138d14a8474c386f1;hpb=4ec6dfa446447d68663b01fbfda07c0bd2fcb3ae;p=freeside.git diff --git a/httemplate/elements/tr-select-taxproduct.html b/httemplate/elements/tr-select-taxproduct.html index f9f192a28..759d0c01c 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{element_name} || $opt{field} || 'taxproductnum';