[freeside-commits] branch master updated. 58c17d959b59b61da9a5b6b752bb8c295d61fc63

Ivan ivan at 420.am
Thu Dec 22 17:29:24 PST 2016


The branch, master has been updated
       via  58c17d959b59b61da9a5b6b752bb8c295d61fc63 (commit)
      from  c3b6a3e02cbe18b67714f11d502492e234d7ac77 (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 58c17d959b59b61da9a5b6b752bb8c295d61fc63
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Dec 22 17:29:23 2016 -0800

    fix "missing FROM-clause entry for table cust_pkg" error pulling up credits from vendor tax report, RT#73852

diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html
index 0cdd8de..4a14893 100644
--- a/httemplate/search/cust_credit_bill_pkg.html
+++ b/httemplate/search/cust_credit_bill_pkg.html
@@ -457,6 +457,8 @@ if ( $cgi->param('nottax') ) {
       push @where, "billpkgtaxratelocationnum IS NULL";
     }
 
+    $join_pkg .= ' LEFT JOIN cust_pkg USING ( pkgnum ) ';
+
     $join_pkg .= ' LEFT JOIN tax_rate_location USING ( taxratelocationnum ) ';
 
   } elsif ( $conf->exists('tax-pkg_address') ) {

-----------------------------------------------------------------------

Summary of changes:
 httemplate/search/cust_credit_bill_pkg.html |    2 ++
 1 file changed, 2 insertions(+)




More information about the freeside-commits mailing list