projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
57db448
)
fix line item detail search w/"Separate sub-packages from parents", RT#21904
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 13 Mar 2013 20:33:58 +0000
(13:33 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 13 Mar 2013 20:33:58 +0000
(13:33 -0700)
httemplate/search/cust_bill_pkg.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_bill_pkg.cgi
b/httemplate/search/cust_bill_pkg.cgi
index
6a9f877
..
11937b3
100644
(file)
--- 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';
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 (
# 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';
}
)";
$part_pkg = 'override';
}