[WIP] Add feature to print unfulfilled requests as a picklists PDF
Resolves #4406
Description
Type of change
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update
- Documentation update
How Has This Been Tested?
Screenshots
Ready for a review @norrismei?
@awwaiid There are a few changes I need to make and then I'll fill out the PR description and mark this ready for review.
@norrismei Please do change the button to have the number of unfulfilled requests..
e.g. Print Unfulfilled Picklists (44)
@cielf I added the number of unfulfilled requests to the print button, and yes, unfulfilled requests includes "started" requests.
@dorner I scoped the query to the organization (thanks for catching) and updated statuses to be more obvious. Awaiting clarity on item_requests vs request_items.
Hey @norrismei - just noting that the lint is failing -- just a wee thing to change there.
@norrismei, but do please change to @item_requests -- we are going to be stripping out request_items entirely in the near future.
I think I'll hold off on a final functional check until that's in.
@dorner unit tests added. Both for the PDF and the button on the index page
@norrismei FYI: We had an urgent fix that required all the senior contributors this week , so we didn't get to look at this again. Hopefully this week will go better.
@norrismei: Your PR Add feature to print unfulfilled requests as a picklists PDF is part of today's Human Essentials production release: 2024.10.20.
Thank you very much for your contribution!