[freeside-commits] branch FREESIDE_2_3_BRANCH updated. d83a701ddf329654360afb8c3b119b4f733714bc
Mark Wells
mark at 420.am
Tue Feb 19 14:44:25 PST 2013
The branch, FREESIDE_2_3_BRANCH has been updated
via d83a701ddf329654360afb8c3b119b4f733714bc (commit)
from 7b3c18f90c6677884bd39d29f011ea59a257184b (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 d83a701ddf329654360afb8c3b119b4f733714bc
Author: Mark Wells <mark at freeside.biz>
Date: Tue Feb 19 14:42:49 2013 -0800
fix misspelled table name, from #21117
diff --git a/httemplate/search/cust_pay_batch.cgi b/httemplate/search/cust_pay_batch.cgi
index b5e582f..a414271 100755
--- a/httemplate/search/cust_pay_batch.cgi
+++ b/httemplate/search/cust_pay_batch.cgi
@@ -87,7 +87,7 @@ if ( $cgi->param('payby') ) {
}
if ( not $cgi->param('dcln') ) {
- push @search, "cpb.status IS DISTINCT FROM 'Approved'";
+ push @search, "cust_pay_batch.status IS DISTINCT FROM 'Approved'";
}
my ($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
@@ -101,7 +101,7 @@ push @search, $curuser->agentnums_sql({ table=>'cust_main' });
my $search = ' WHERE ' . join(' AND ', @search);
-$count_query = 'SELECT COUNT(*) FROM cust_pay_batch AS cpb ' .
+$count_query = 'SELECT COUNT(*) FROM cust_pay_batch ' .
'LEFT JOIN cust_main USING ( custnum ) ' .
'LEFT JOIN pay_batch USING ( batchnum )' .
$search;
-----------------------------------------------------------------------
Summary of changes:
httemplate/search/cust_pay_batch.cgi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list