[freeside-commits] branch master updated. 7e90fee50d691a93369b1693cbb3743e627bdb03
Ivan
ivan at 420.am
Wed Mar 13 13:33:59 PDT 2013
The branch, master has been updated
via 7e90fee50d691a93369b1693cbb3743e627bdb03 (commit)
from 57db4484cae295551c72c88c936ef8a71d35730d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7e90fee50d691a93369b1693cbb3743e627bdb03
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Mar 13 13:33:58 2013 -0700
fix line item detail search w/"Separate sub-packages from parents", RT#21904
diff --git a/httemplate/search/cust_bill_pkg.cgi b/httemplate/search/cust_bill_pkg.cgi
index 6a9f877..11937b3 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -278,11 +278,11 @@ my $join_pkg =
LEFT JOIN part_pkg USING (pkgpart)';
my $part_pkg = 'part_pkg';
-if ( $cgi->param('use_override') ) {
+if ( $cgi->param('use_override') ) { #"Separate sub-packages from parents"
# still need the real part_pkg for tax applicability,
# so alias this one
$join_pkg .= " LEFT JOIN part_pkg AS override ON (
- COALESCE(cust_bill_pkg.pkgpart_override, cust_pkg.pkgpart, 0) = part_pkg.pkgpart
+ COALESCE(cust_bill_pkg.pkgpart_override, cust_pkg.pkgpart, 0) = override.pkgpart
)";
$part_pkg = 'override';
}
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/cust_bill_pkg.cgi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list