-
Notifications
You must be signed in to change notification settings - Fork 0
Item Requests #6
Copy link
Copy link
Open
Description
Right now, we have the HomePage View that shows an all-text form for making item requests. We need to connect it to the backend to do stuff. This is a pretty comprehensive task that could get broken down.
- Implement CheckOutRequest schema as specified in design doc
- Make the HomePage view actually make new CheckOutRequests in the database
- Make RequestReviewPage view to show all CheckOutRequests made in chronological order of
Date Needed By - Link to that view from the admin page
- This could be similar to the admin view we have now to show all existing items in inventory, where we can expand each row the show the details and do actions like approvals.
- Enable approvals in that expanded view
- Integrate SendGrid so that on approval, the system automatically sends out an email to the provided email and notifies them their request has been approved and provide the email of the approver (a TESC admin whoever approves that request) for them to reach out to and figure out logistics. For SendGrid integration examples, the decaf.live repo might be helpful.
- Delete functionality for requests in the admin view
Stretch goals:
- On approval, admin can select the quantity being approved
- Figure out a way to deal with requests that we don't want/cannot approve for certain reasons. A possible approach would be to have an additional
reasonfield in the schema that the admin can fill out when they review the request. If they set the approved quantity to 0 (meaning request is denied), they need to fill out the reason and we should send out an automated email saying the request was denied stating the reason.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels