Resolve Primary Chapter for Activity Attribution
When a peer mentor is affiliated with more than one chapter, the activity registration wizard must prompt the coordinator to confirm which chapter the activity should be attributed to. The system suggests the coordinator's own chapter by default but allows selection of any chapter the peer mentor is affiliated with. This selection is persisted on the activity record and used for chapter-scoped statistics and Bufdir export. The chapter scope resolver uses the membership cubit to load valid options.
User Story
Acceptance Criteria
- Given a peer mentor has two or more chapter affiliations, when the coordinator reaches the summary step in the activity wizard, then a chapter attribution selector is displayed showing all affiliated chapters
- Given the chapter attribution selector is displayed, when no explicit selection is made, then the coordinator's own chapter is pre-selected as the default
- Given the coordinator selects a different chapter for attribution, when the activity is saved, then the activity record stores the selected chapter ID and that chapter's statistics reflect the new entry
- Given a peer mentor has only one chapter affiliation, when the coordinator registers an activity, then no chapter attribution selector is shown and the single chapter is used automatically
- Given an activity has been saved with a specific chapter attribution, when the coordinator reviews the activity in the stats view, then the activity appears under the correct chapter's scope
Business Value
Accurate chapter-level attribution is essential for NHF's hierarchical reporting structure spanning 12 national associations, 9 regions, and 1,400 local chapters. Without explicit attribution, activities by multi-chapter members appear in ambiguous states that break statistical aggregation at every level of the hierarchy. Correct attribution ensures that each chapter's Bufdir grant allocation is based on verifiably accurate activity counts, protecting the organization from under- or over-reporting penalties.
Components
- Chapter Scope Resolver service
- Multi-Chapter Membership Service service
- Chapter Membership Cubit service
- Contact Chapter Repository data
- Activity Registration Cubit service
- Activity Registration Service service
- Activity Repository data