X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-taxproduct.html;h=759d0c01c03d6a17a4f19ade81362417f5ed70f4;hp=f9f192a28b95c89d5b833c1138d14a8474c386f1;hb=c3da5cf1caa244937d280e0f406927103beef148;hpb=4ec6dfa446447d68663b01fbfda07c0bd2fcb3ae 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';