Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Students table - stats #52

Open
edmondpr opened this issue Jul 21, 2023 · 0 comments
Open

Students table - stats #52

edmondpr opened this issue Jul 21, 2023 · 0 comments
Assignees
Labels

Comments

@edmondpr
Copy link
Member

edmondpr commented Jul 21, 2023

Design: https://www.figma.com/file/DgrKZX9mS13Zgf7k5pZ1WT/Partner-web-app?type=design&node-id=727-182&mode=design&t=rESN2vPU0w6pDYKl-4

If the logged in user is a from a partner NGO, the following data will be made available:

  • total number of students from the partner NGO who have enrolled in at least one course and who haven't cancelled it
  • total number of courses in which the students from the partner NGO have enrolled (completed + not completed)
  • total number of hours corresponding to the lessons that haven't been cancelled in the courses (1h per lesson)

The data will be made available on the /api/v1/partners/{partner_id}/students/stats endpoint.

The results will take into consideration the selected centre ID, the search term and the selected date range (passed in the body of the API request).

@edmondpr edmondpr changed the title Students stats Students table - stats Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants