summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2011-04-15 22:04:26 +0000
committerivan <ivan>2011-04-15 22:04:26 +0000
commit973a62e72bf2c9f60bb4ca8f7f8f5cbfa328b7db (patch)
treecc221eb56722b613199763c16f3294e3bd1ffc2d /httemplate
parent923faad32b40a52d34272d700debea43e340e54f (diff)
link new tax report to cust_credit_bill_pkg for credits, RT#12332
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_credit_bill_pkg.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html
index 291034c3e..c6995470d 100644
--- a/httemplate/search/cust_credit_bill_pkg.html
+++ b/httemplate/search/cust_credit_bill_pkg.html
@@ -347,12 +347,12 @@ my $join_pkg;
my $join_cust_bill_pkg = 'LEFT JOIN cust_bill_pkg USING ( billpkgnum';
if ( $cgi->param('iscredit') eq 'rate' ) {
- $join_pkg .= ', billpkgtaxratelocationnum )';
+ $join_cust_bill_pkg .= ', billpkgtaxratelocationnum )';
} elsif ( $conf->exists('tax-pkg_address') ) {
- $join_pkg .= ', billpkgtaxlocationnum )';
+ $join_cust_bill_pkg .= ', billpkgtaxlocationnum )';
push @where, "billpkgtaxratelocationnum IS NULL";
} else {
- $join_pkg .= ' )';
+ $join_cust_bill_pkg .= ' )';
push @where, "billpkgtaxratelocationnum IS NULL";
}