rubyforgood / human-essentials

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.
https://humanessentials.app
MIT License
436 stars 449 forks source link

[PACKS] # 4 Show the custom units when displaying the request to the partner #4399

Open cielf opened 3 weeks ago

cielf commented 3 weeks ago

Summary

Show the custom units when displaying the individual request to the partner(assumes [PACKS] #3 is complete)

Why

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

Details

This is for when we show the individual request to the partner, when they save their request. For the lists of requests, see [PACKS] # 6.

The unit should be put between the number and the word "of" (if and only if a non-default unit is selected).

Image

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.

Image

scooter-dangle commented 3 weeks ago

@awwaiid + @FelipeGithub24 are grabbing this

FelipeGithub24 commented 3 weeks ago

I will take this one with Brock..!

awwaiid commented 3 weeks ago

Nevermind! We are going to do #6 first instead :)