[freeside-commits] branch FREESIDE_3_BRANCH updated. 7d7ec20bcb3105021ac074d1e86896aa2a5104be

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


The branch, FREESIDE_3_BRANCH has been updated
       via  7d7ec20bcb3105021ac074d1e86896aa2a5104be (commit)
      from  c48c387bf982b95dbd2f0e26e5f4fa967884af35 (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 7d7ec20bcb3105021ac074d1e86896aa2a5104be
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Dec 22 17:29:26 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