Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
Allow the selection of custom request units in partner request
Why
This is step #3 of adding the ability to specify "packs" versus "individual" for requests
Details
When an item is selected that has request choice units, the units drop down will appear. It will contain the reporting unit and the additional units selected. The units will be pluralized.
If the item selected has no request choice units, the units drop down will not appear.
If the item selected has custom units, the units must be selected.
Disallow selecting multiple different unit selections on the same item within the same request. (Example -- we would disallow requesting 15 Adult Briefs (Large XL) units and 3 Adult Briefs (Large XL) packs within the same request. The error message in this case should be "You may only request one unit level per item -- please consolidate: Adult Briefs (Large XL)")
Please note that the seed has data in it that does not pass the above condition -- we'll need to address that too!
N.B.
All of the 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. These should be implemented in numerical order.
Summary
Allow the selection of custom request units in partner request
Why
This is step #3 of adding the ability to specify "packs" versus "individual" for requests
Details
When an item is selected that has request choice units, the units drop down will appear. It will contain the reporting unit and the additional units selected. The units will be pluralized.
If the item selected has no request choice units, the units drop down will not appear.
If the item selected has custom units, the units must be selected.
Disallow selecting multiple different unit selections on the same item within the same request. (Example -- we would disallow requesting 15 Adult Briefs (Large XL) units and 3 Adult Briefs (Large XL) packs within the same request. The error message in this case should be "You may only request one unit level per item -- please consolidate: Adult Briefs (Large XL)")
Please note that the seed has data in it that does not pass the above condition -- we'll need to address that too!
N.B.
All of the changes for PACKS must be implemented behind a flipper flag "enable_packs"
Criteria for completion
Background
The following sections have been identified as required for the PACKS implementation. These should be implemented in numerical order.