FIX_DASHBOARD ACTIVE MEMBERS COUNT ISSUE
This commit is contained in:
parent
b4427e6b63
commit
17bce828ff
@ -116,7 +116,7 @@ class HomeModel extends Model
|
|||||||
|
|
||||||
->select('books.business_id,books.title as name ,scheme_id, books.short_code, count(*) as overall')
|
->select('books.business_id,books.title as name ,scheme_id, books.short_code, count(*) as overall')
|
||||||
->join('books','books.book_id = subscription.scheme_id')
|
->join('books','books.book_id = subscription.scheme_id')
|
||||||
->where('to_subscription>now()')
|
->where('to_subscription>=CURDATE()')
|
||||||
->where('subscription.isactive',1)
|
->where('subscription.isactive',1)
|
||||||
->groupBy('scheme_id');
|
->groupBy('scheme_id');
|
||||||
$results = $query->get()->getResultArray();
|
$results = $query->get()->getResultArray();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user