human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

[PACKS] #2 Add reporting units to items

Open cielf opened this issue 1 year ago • 3 comments

Summary

Add custom request units at item level (assumes [PACKS] #0 is complete and merged, which will give us all the appropriate fields on the database and some examples in the seed)

Why

This is step #2 of adding the ability to specify "packs" versus "individual" for requests

Details

Add custom request units used to the item on edit, show, and list.

a) On item new/edit (Inventory|Items&Inventory|New Item or Edit the specific item)

Iff the bank is using customized request units:

Add a "additional custom request units (e.g. packs)" field Multi-Select additional request units, if any (from the list specified at org level)

Screenshot hint for placement

Image

b) Item show

The item show does not currently show every field in the item, only a subset plus the levels for each storage location. We're splitting that into a separate issue (PACKS 12), as it is not crucial for release and requires a slight redesign.

c) Item list

Iff the organization is using customized request units, add a column to the list that shows the customized request units used on each item

Screenshot hit for placement

Image

N.B.

All of the UI changes for PACKS must be implemented behind a flipper flag "enable_packs"

Criteria for completion

  • [ ] functionality as described above
  • [ ] tests that support the functionality as described above

Background

The following sections have been identified as required for the PACKS implementation. The necessary fields and seed elements are implemented in [PACKS]#0

Image

cielf avatar May 30 '24 18:05 cielf

tagging @sean-dickinson to get Github to let me assign him 🤞 EDIT: nerp. that dint work

scooter-dangle avatar May 31 '24 14:05 scooter-dangle

me + @ibulmer

sean-dickinson avatar May 31 '24 14:05 sean-dickinson

Re-opening until we do manual QA leading up to this (so waiting for packs-1)

awwaiid avatar Jun 02 '24 13:06 awwaiid

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.

github-actions[bot] avatar Jul 03 '24 00:07 github-actions[bot]

Closing -- will do end-to-end QA in #4501

Thank you!

awwaiid avatar Jul 07 '24 14:07 awwaiid