summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-12-13 12:40:15 -0800
committerIvan Kohler <ivan@freeside.biz>2016-12-13 12:40:15 -0800
commit7e4a6981a48ce6ac8dd212799f4d7e342b7db64b (patch)
tree6b15a108896d8c50bdd82a3ee0b8575fd6c4876f /httemplate/elements
parent2bf78c35f323700c1daa3808dccab351c3fe5b14 (diff)
parent2bad20089a292ab4e9e80e8534aaec41b4bd7b2c (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-part_pkg-taxproducts.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-part_pkg-taxproducts.html b/httemplate/elements/tr-part_pkg-taxproducts.html
index 5dcea09f1..50dace729 100644
--- a/httemplate/elements/tr-part_pkg-taxproducts.html
+++ b/httemplate/elements/tr-part_pkg-taxproducts.html
@@ -54,7 +54,8 @@ my %pkg_options;
if ($pkgpart) {
my $part_pkg = FS::part_pkg->by_key($pkgpart);
%pkg_options = $part_pkg->options;
- $curr_values{''} = $part_pkg->taxproductnum;
+ $curr_values{''} = $cgi->param('taxproductnum')
+ || $part_pkg->taxproductnum;
}
foreach my $usage_class (@classes) {
@@ -66,4 +67,5 @@ foreach my $usage_class (@classes) {
$curr_values{$classnum} = $curr_value;
$separate = 1 if ( length($classnum) and length($curr_value) );
}
+
</%init>