[freeside-commits] branch FREESIDE_3_BRANCH updated. 7e8873251e1709dee38c5cecb6b6f8fd466183f0

Christopher Burger burgerc at freeside.biz
Mon Apr 30 07:47:49 PDT 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  7e8873251e1709dee38c5cecb6b6f8fd466183f0 (commit)
      from  8f1cfb134d3e944440faf0f8a2b3df9d4c8ff69a (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 7e8873251e1709dee38c5cecb6b6f8fd466183f0
Author: Christopher Burger <burgerc at freeside.biz>
Date:   Fri Apr 27 13:48:58 2018 -0400

    RT# 77160 - fixed report error when multiple canceled packages had they same datetime

diff --git a/httemplate/search/cust_timespan.html b/httemplate/search/cust_timespan.html
index 370b0b6ca..3886361ae 100644
--- a/httemplate/search/cust_timespan.html
+++ b/httemplate/search/cust_timespan.html
@@ -88,7 +88,7 @@ my $cancel_date = 'select max(cancel) from cust_pkg where cust_pkg.custnum = cus
 my $cancel_reason = 'select reason.reason from cust_pkg
 	left join cust_pkg_reason on (cust_pkg.pkgnum = cust_pkg_reason.pkgnum)
 	left join reason on (cust_pkg_reason.reasonnum = reason.reasonnum)
-	where cust_pkg.custnum = cust_main.custnum and cust_pkg_reason.date = ('.$cancel_date.')
+	where cust_pkg.custnum = cust_main.custnum and cust_pkg_reason.date = ('.$cancel_date.') limit 1
 ';
 
 my @header = ( '#', 'Name', 'Address', 'Phone', 'Email', 'Active Date', 'Cancelled Date', 'Reason', 'Active Days' );

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

Summary of changes:
 httemplate/search/cust_timespan.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list