[freeside-commits] branch FREESIDE_2_3_BRANCH updated. bcdeefe43f138092344200535100f5c035566efc

Ivan ivan at 420.am
Wed Mar 13 13:34:01 PDT 2013


The branch, FREESIDE_2_3_BRANCH has been updated
       via  bcdeefe43f138092344200535100f5c035566efc (commit)
      from  97f03b3b092ed922462308fa68dabfe92c7f7905 (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 bcdeefe43f138092344200535100f5c035566efc
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Mar 13 13:34:00 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 4308e24..c813313 100644
--- a/httemplate/search/cust_bill_pkg.cgi
+++ b/httemplate/search/cust_bill_pkg.cgi
@@ -624,11 +624,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