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