recent signup
This commit is contained in:
@@ -463,15 +463,14 @@ class OfficeDashboardService(BaseService):
|
|||||||
recent_login_data = []
|
recent_login_data = []
|
||||||
for subs in recentLogin:
|
for subs in recentLogin:
|
||||||
recent_login_data.append({
|
recent_login_data.append({
|
||||||
'id': subs.id,
|
'member_id': subs.id,
|
||||||
'firstname' : subs.firstname,
|
'firstname' : subs.firstname,
|
||||||
'lastname' : subs.lastname,
|
'lastname' : subs.lastname,
|
||||||
'username' : subs.username,
|
'username' : subs.username,
|
||||||
|
'member_uid': subs.uid,
|
||||||
"added": subs.added,
|
"added": subs.added,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Calculate total pages
|
# Calculate total pages
|
||||||
total_pages = (total_count + limit - 1) // limit
|
total_pages = (total_count + limit - 1) // limit
|
||||||
|
|
||||||
@@ -493,6 +492,7 @@ class OfficeDashboardService(BaseService):
|
|||||||
'recent_payment_summary': recent_payment_summary,
|
'recent_payment_summary': recent_payment_summary,
|
||||||
'recent_deployment_summary': recent_deployment_summary,
|
'recent_deployment_summary': recent_deployment_summary,
|
||||||
'recent_login': recent_login_data,
|
'recent_login': recent_login_data,
|
||||||
|
'recent_signup': recent_login_data,
|
||||||
'recent_deployment_error': [],
|
'recent_deployment_error': [],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user