[freeside-commits] branch master updated. 7427404751de534a767b44541f93915b35477116
Ivan
ivan at 420.am
Wed Sep 23 10:50:26 PDT 2015
The branch, master has been updated
via 7427404751de534a767b44541f93915b35477116 (commit)
from 15a4e1674694b76ecc2af87de479aabe370ac03d (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 7427404751de534a767b44541f93915b35477116
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Sep 23 10:50:24 2015 -0700
fix searches for cust_pay events, RT#35167
diff --git a/FS/FS/cust_event.pm b/FS/FS/cust_event.pm
index f299f93..c35e118 100644
--- a/FS/FS/cust_event.pm
+++ b/FS/FS/cust_event.pm
@@ -302,7 +302,7 @@ sub join_sql {
JOIN part_event USING ( eventpart )
LEFT JOIN cust_bill ON ( eventtable = 'cust_bill' AND tablenum = invnum )
LEFT JOIN cust_pkg ON ( eventtable = 'cust_pkg' AND tablenum = pkgnum )
-
+ LEFT JOIN cust_pay ON ( eventtable = 'cust_pay' AND tablenum = paynum )
LEFT JOIN cust_svc ON ( eventtable = 'svc_acct' AND tablenum = svcnum )
LEFT JOIN cust_pkg AS cust_pkg_for_svc ON ( cust_svc.pkgnum = cust_pkg_for_svc.pkgnum )
LEFT JOIN cust_main ON ( ( eventtable = 'cust_main' AND tablenum = cust_main.custnum )
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_event.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list