Prizes Admin Dashboard
derogative404 opened this issue · comments
Description
As a admin
I want to view the names of the students that have achieved a prize. Once they have collected their prize, I would like to check off their name and it should disappear from the dashboard.
Proposed Solution
Acceptance Criteria
- Utilises
/dashboard/prizes
route - Prizes table created as per schema. Connected by userID
- Table like format, with the column headings being "Name" (student's firstname and lastname) and "Prize Received" (checkbox when student has received a prize)
- "Name" column displays the name of the student
- "Prize Received" column displays a checkbox
- Once a checkbox under "Prize Received" is checked for an associated student, the row containing the student's name and checkbox should disappear on the frontend but remains on the back end.
Notes
This is basically done without the first and last names in the table, idk why it's not working
All goods. Just send through a PR of what you've got
completed