FIX_Dashboard Exp list : ps
This commit is contained in:
parent
00d1e3f5bc
commit
9eeb6a1ec9
@ -149,6 +149,7 @@ class HomeModel extends Model
|
||||
->select('CM.name,CONCAT_WS(" ", C.first_name, C.last_name) as customer_name, C.email as customer_email, C.mobile_no as customer_mobile, S.sub_id, S.scheme_id, S.customer_id, S.business_id, S.to_subscription, S.from_subscription, BK.title, BK.short_code, BK.book_id, DATEDIFF(S.to_subscription, CURDATE()) as countdays, DATE_FORMAT(S.to_subscription, "%d/%m/%Y") as to_subscription_date_format')
|
||||
->where('S.to_subscription >=', $now)
|
||||
->where('S.to_subscription <=', $last30days)
|
||||
->where('S.isactive', 1)
|
||||
->where('LOWER(CM.name)', strtolower("Membership"))
|
||||
->orderBy('S.to_subscription', 'ASC')
|
||||
->groupBy('S.sub_id')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user