MentorsWithoutBorders / mwb-partners-admin

Web app for MWB partners
0 stars 0 forks source link

Dashboard - stats for partner companies #40

Open edmondpr opened 1 year ago

edmondpr commented 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.

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).