[freeside-commits] branch FREESIDE_3_BRANCH updated. 4c289fa61fa2cc6ed21bdacd047c969eb5c7f96c

Ivan ivan at 420.am
Sun Jan 18 14:50:24 PST 2015


The branch, FREESIDE_3_BRANCH has been updated
       via  4c289fa61fa2cc6ed21bdacd047c969eb5c7f96c (commit)
      from  a0c37cca3cea5a5167650e3338234dd17a1e81c1 (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 4c289fa61fa2cc6ed21bdacd047c969eb5c7f96c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sun Jan 18 14:50:22 2015 -0800

    fully-qualify

diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi
index 9f9eb30..b47aaf3 100755
--- a/httemplate/search/cust_pay_batch.cgi
+++ b/httemplate/search/cust_pay_batch.cgi
@@ -72,7 +72,7 @@ if ( $cgi->param('batchnum') && $cgi->param('batchnum') =~ /^(\d+)$/ ) {
 }
 
 if ( $cgi->param('custnum') && $cgi->param('custnum') =~ /^(\d+)$/ ) {
-  push @search, "custnum = $1";
+  push @search, "cust_pay_batch.custnum = $1";
 }
 
 if ( $cgi->param('status') && $cgi->param('status') =~ /^(\w)$/ ) {
@@ -116,7 +116,6 @@ $sql_query = {
   'hashref'   => {},
   'addl_from' => 'LEFT JOIN pay_batch USING ( batchnum ) '.
                  'LEFT JOIN cust_main USING ( custnum ) '.
-                 
                  'LEFT JOIN cust_pay  USING ( batchnum, custnum ) ',
   'extra_sql' => $search,
   'order_by'  => "ORDER BY $orderby",

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

Summary of changes:
 httemplate/search/cust_pay_batch.cgi |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)




More information about the freeside-commits mailing list