You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapt the annual report to take advantage of the new reporting categories on items instead of the byzantine use of the categories on the items' base items
Why?
It will be so much simpler!
Details
This needs to be fleshed out by CL before a developer can take it on.
Criteria for completion
annual report uses the new reporting categories instead of the base item categories and other kludges
tests to support
The text was updated successfully, but these errors were encountered:
@cielf If this task is just moving all calculations based on base_items.category to use items.reporting_category, then I think I could go ahead and get started on it.
@coalest So... it isn't as bad as I remember. I thought there was some more esoteric stuff than I've seen going through it so far.
1/ We'll need to change the scopes on item to take the reporting categories into account.
scope -> reporting categories
disposable-> disposable_diapers; (simpler than current)
cloth_diapers->cloth_diapers; (simpler than current)
adult_incontinence->adult_incontinence; (simpler than current)
period_supplies->pads, tampons, period_liners, period_underwear, period_reusables, period_other; (we don't have all those represented yet)
other->other (simpler than current)
2/ I think we(I) miscategorized earlier: Liners(menstrual) should really be period_liners, rather than menstrual
3/ Then in the actual reports,
a) The AI could get complicated with regard to PR #4794. We should see if we can coordinate with @jadekstewart3 -- but the pre-getting-kits-in-version will just rely on the scope update.
b) children served, diaper report service -- we'll need to update the sql around kits to just apply to cloth or disposable as makes sense
c) Other looks like it should follow from the scope .
d) In period_supply_report_service, we'll need to update the sql around kits to match the new world.
Summary
Adapt the annual report to take advantage of the new reporting categories on items instead of the byzantine use of the categories on the items' base items
Why?
It will be so much simpler!
Details
This needs to be fleshed out by CL before a developer can take it on.
Criteria for completion
The text was updated successfully, but these errors were encountered: