[freeside-commits] branch FREESIDE_4_BRANCH updated. a8eef07a8b1086f0249297f6e99c241105e5538f
Ivan
ivan at 420.am
Wed Sep 23 10:50:27 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via a8eef07a8b1086f0249297f6e99c241105e5538f (commit)
from 1156af3a7ca02d40d622a9fe6df899fc74b3e622 (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 a8eef07a8b1086f0249297f6e99c241105e5538f
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Sep 23 10:50:26 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