OpenTree-Education / rhizone-lms

A learning management system focused on self-reflection.
https://rhi.zone
BSD 3-Clause Clear License
14 stars 7 forks source link

#469 Add a route and service file function to get all participant activities for a program #487

Closed ChainShoe-Z closed 1 year ago

ChainShoe-Z commented 1 year ago

Proposed changes

This PR resolves #469 .

This PR adds a "listParticipantActivitiesCompletionForProgram" service function and a router for it. It takes the program and principle ID as parameters, and return all corresponding activities with their completion status.

Test files for both service function and router are 100% passed.

Checklist

ChainShoe-Z commented 1 year ago

Merge!