FIX_DASHBOARD_LAST_SENT_TIME
This commit is contained in:
parent
394d29afff
commit
6887cf3cca
@ -199,7 +199,7 @@ class HomeModel extends Model
|
||||
DATEDIFF(S.to_subscription, CURDATE()) as countdays,
|
||||
DATE_FORMAT(S.to_subscription, "%d/%m/%Y") as to_subscription_date_format,
|
||||
S.is_renew,
|
||||
( NHC.sent_time ) as email_last_notify_on,(select is_renew from subscription as sub where S.sub_id = sub.is_renew LIMIT 1)as renewed')
|
||||
MAX( NHC.sent_time ) as email_last_notify_on,(select is_renew from subscription as sub where S.sub_id = sub.is_renew LIMIT 1)as renewed')
|
||||
->where('S.to_subscription >=', $past30days)
|
||||
->where('S.to_subscription <=', $last30days)
|
||||
->where('S.isactive', 1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user