X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselect-taxproduct.html;h=d08ac22d1a9e03645b62f71e77f26db8c261b262;hp=5feb71d800065b05cb1b04baac82d4d7d36dab43;hb=HEAD;hpb=817c1ce0e1cbcfd1f684222c66f46dd13b2d6dd7 diff --git a/httemplate/elements/select-taxproduct.html b/httemplate/elements/select-taxproduct.html index 5feb71d80..d08ac22d1 100644 --- a/httemplate/elements/select-taxproduct.html +++ b/httemplate/elements/select-taxproduct.html @@ -1,14 +1,79 @@ -<% $opt{'prefix'} %> - <% $opt{'postfix'} %> +% if (!$init) { +% $init = 1; + + +% } +<% $opt{'prefix'} %> + + + +<% $opt{'postfix'} %> +<%shared> +my $init = 0; + <%init> my %opt = @_; @@ -19,7 +84,8 @@ my $description = $opt{'taxproduct_description'}; unless ( $description || ! $value ) { my $part_pkg_taxproduct = qsearchs( 'part_pkg_taxproduct', { 'taxproductnum'=> $value } ); - $description = $part_pkg_taxproduct->description + $description = $part_pkg_taxproduct->taxproduct . ' ' . + $part_pkg_taxproduct->description if $part_pkg_taxproduct; }