Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PACKS] #0 Add fields for packs to the model #4096

Closed
3 tasks
cielf opened this issue Feb 11, 2024 · 3 comments · Fixed by #4306
Closed
3 tasks

[PACKS] #0 Add fields for packs to the model #4096

cielf opened this issue Feb 11, 2024 · 3 comments · Fixed by #4306
Labels
core team Groomed but likely needs expert knowledge stale

Comments

@cielf
Copy link
Collaborator

cielf commented Feb 11, 2024

Summary

Add fields for packs to the model, plus some sample seed data

Why?

We're intending to do packs at the RFG event. Having the fields in place on the model first will allow us to get a lot more done than otherwise.

Details

We need to model:
1/ A flag on Organization to indicate the org uses custom request units
2/ Custom reporting units used by the organization
3/ Selection of custom reporting units used on an item level. Reporting unit, plus other units allowed.
4/ What custom reporting unit is used on a request

As far as seed data goes, we should have packs enabled on the the bank that org_admin1 signs in to, with "diapers", "packs", "pads" and "flats" as the units the org uses.
Have a three items in the seed that have custom units, one that allows "diapers" and "packs", one that allows "diapers", "packs" and "flats". Both of these will have "diapers" as the reporting unit.
A third item (preferably "Pads", to keep the data nice for demo purposes) will have "pads" as its reporting unit, with "packs" as another option.

At this time, this is a model with no UI. There are issues to follow for all the UI components, which will be addressed at this year's event.

From the planning meeting

We need an "Organization_Request_Units" table
And an "Item_Request_Units" table

Criteria for completion

  • model changes made (models and tables are created)
  • seed data works
  • any tests that are useful at this point. (validation - can't add an item unit unless there is an org unit)
@cielf cielf added the core team Groomed but likely needs expert knowledge label Feb 11, 2024
@cielf cielf added this to the Packs milestone Feb 11, 2024
@dorner dorner self-assigned this Mar 17, 2024
Copy link
Contributor

github-actions bot commented May 1, 2024

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.

Copy link
Contributor

github-actions bot commented May 9, 2024

Automatically unassigned after 7 days of inactivity.

Copy link
Contributor

Automatically unassigned after 7 days of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core team Groomed but likely needs expert knowledge stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants