X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_pkg_taxproduct%2Fsuretax.html;h=178062c4a1ee85053918a14c42954ce73ca7f055;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hp=667c07ee9dafd02bd671402790a4c670d4e54cbb;hpb=817c1ce0e1cbcfd1f684222c66f46dd13b2d6dd7;p=freeside.git diff --git a/httemplate/browse/part_pkg_taxproduct/suretax.html b/httemplate/browse/part_pkg_taxproduct/suretax.html index 667c07ee9..178062c4a 100755 --- a/httemplate/browse/part_pkg_taxproduct/suretax.html +++ b/httemplate/browse/part_pkg_taxproduct/suretax.html @@ -16,9 +16,6 @@ 'nohtmlheader' => 1, 'disable_total' => 1, &> - -
+
- - -
- - -
- - -
+ <% emt('Add tax product') %> + <% ntable('#cccccc', 2) %> + <& /elements/tr-input-text.html, + 'label' => emt('Product code'), + 'field' => 'new_taxproduct', + 'id' => 'new_taxproduct', + 'size' => 6, + 'maxlength' => 6, + &> + <& /elements/tr-input-text.html, + 'label' => emt('Category'), + 'field' => 'new_category_desc', + 'id' => 'new_category_desc', + 'disabled' => 1 + &> + <& /elements/tr-input-text.html, + 'label' => emt('Product'), + 'field' => 'new_taxproduct_desc', + 'id' => 'new_taxproduct_desc', + &> +
-
<%shared> # populate dropdown @@ -116,7 +124,7 @@ foreach my $row ( qsearch({ &> <& /elements/hidden.html, field => 'id', - curr_value => $cgi->param('id'), + curr_value => scalar($cgi->param('id')), &> <%init> @@ -130,8 +138,7 @@ my $id = $cgi->param('id'); my $select_onclick = sub { my $row = shift; my $taxnum = $row->taxproductnum; - my $code = $row->taxproduct; - my $desc = $row->description; + my $desc = $row->taxproduct . ' ' . $row->description; "select_taxproduct('$taxnum', '$desc')"; };