Manage custom revenue types

Work in progress

 

 

For retired revenue types:

  • Delete text should describe that retired revenue types will no longer be selectable once retired but can be filtered for on reports and will show up in reports where that type has at least 1 revenue within the filter criteria

  •  

 

Must have:

  • Updated single select revenue type view

    • Including ability to add / manage custom revenue types

  • View custom revenue types

  • Add custom expense type (name & attributable to crops)

    • Crop attribution indicates that instances of this revenue type should be attributed to varietals / cultivars for the purposes of crop by crop profitability

  • Retire custom revenue type

 

Nice to have:

  • Customize an icon for a revenue type

 

Not in scope:

  • Edit custom revenue type flow → Don’t want to think about the complications of how changing a revenue type crop attribution should cascade

 

Background:

  • crop_variety_sale table exists on the back-end, referencing 1 crop, 1 quantity, and 1 sale

    • N can be generated from a given sale

  •