human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

[Kit Redesign] Phase 1 - Change itemizable source

Open dorner opened this issue 1 year ago • 4 comments

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

dorner avatar Jul 02 '23 20:07 dorner

I can work on this

zeeshan-haidar avatar Jul 04 '23 09:07 zeeshan-haidar

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.

github-actions[bot] avatar Aug 06 '23 00:08 github-actions[bot]

This issue depends on this PR to get merge first

zeeshan-haidar avatar Aug 06 '23 07:08 zeeshan-haidar

I think I can do this by cherry-picking commits from #3750 and fixing it up a little

jimmyli97 avatar Jul 25 '24 23:07 jimmyli97