added counts
This commit is contained in:
@@ -88,13 +88,15 @@ class OfficeDashboardService(BaseService):
|
||||
'updated': t.updated
|
||||
} for t in subscription]
|
||||
|
||||
sub_count = MembersProducts.get_subscription_counts(0)
|
||||
|
||||
dashboard_data = {
|
||||
"subscription": subscription_data,
|
||||
"loans": {
|
||||
"currency": "Naira",
|
||||
"currency_text": "\u20a6",
|
||||
"text": "this week",
|
||||
"value": 159999.0
|
||||
"value": sub_count
|
||||
},
|
||||
"payments": {
|
||||
"currency": "Dollars",
|
||||
|
||||
Reference in New Issue
Block a user