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] # 9 Distribution printout for banks includes custom request units, if applicable #4404

Open cielf opened 3 weeks ago

cielf commented 3 weeks ago

Summary

Distribution printout for banks includes custom request units, if applicable.

Why

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

Details

If any of the requested items have units selected Add custom units to the requested amounts. This may require some adjustment in column widths

Hint

app/pdfs/distribution_pdf.rb

Visual aid

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