Open edmondpr opened 1 year ago
Design: https://www.figma.com/file/DgrKZX9mS13Zgf7k5pZ1WT/Partner-web-app?type=design&node-id=727-66&mode=design&t=IrpaeVusdRlOAZoD-4
If the logged in user is a from a partner company, the following data will be shown:
The data will be retrieved from the /api/v1/partners/{partner_id}/dashboard/stats endpoint.
/api/v1/partners/{partner_id}/dashboard/stats
If the view mode is set to All MWB participants, the endpoint will be /api/v1/partners/dashboard/stats.
All MWB participants
/api/v1/partners/dashboard/stats
The results will take into consideration the selected year and the view mode (data for own company / all MWB participants).
Design: https://www.figma.com/file/DgrKZX9mS13Zgf7k5pZ1WT/Partner-web-app?type=design&node-id=727-66&mode=design&t=IrpaeVusdRlOAZoD-4
If the logged in user is a from a partner company, the following data will be shown:
The data will be retrieved from the
/api/v1/partners/{partner_id}/dashboard/stats
endpoint.If the view mode is set to
All MWB participants
, the endpoint will be/api/v1/partners/dashboard/stats
.The results will take into consideration the selected year and the view mode (data for own company / all MWB participants).