human-essentials
human-essentials copied to clipboard
[Kit Redesign] Phase 1 - Change itemizable source
Summary
See https://github.com/rubyforgood/human-essentials/issues/3652
- Add the Itemizable module to the base Item class.
- Add a migration to change the itemizable_id for all kits' line items to instead point to the kit's item. Back up the DB first!
- Update views and allocation / deallocation logic to work with the item's line items instead of the kits.
Things to consider
We should probably add a comment to the Itemizable module stressing that it indicates that the parent model has line items, not items.
Criteria for Completion
No response
I can work on this
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.
This issue depends on this PR to get merge first
I think I can do this by cherry-picking commits from #3750 and fixing it up a little