Commit aa6da89
committed
fix(spp_mis_demo_v2,spp_programs): eligibility CEL, CR approval workflow, use case accuracy
Fix eligibility managers not getting CEL expressions set (get_manager
doesn't handle MANAGER_ELIGIBILITY — use program.eligibility_manager_ids
directly instead). Fix CR approval workflow using with_user() for the
correct validator users (local + HQ) to pass multi-tier approval checks.
Fix eligibility UI summary showing "Configured" instead of actual CEL.
spp_mis_demo_v2:
- Fix _configure_eligibility_manager to access wrapper directly
- Fix _configure_logic_studio to always set CEL on eligibility manager
- Fix _set_cr_state to use demo_cr_local_validator and demo_cr_hq_validator
for multi-tier approval (approve, reject, revision)
- Change Rosa Garcia exit CR from applied to pending (prevents enrollment deletion)
- Update use case: Santos 5 members (add Lola), Reyes multi-generational 8 members,
13 CRs with accurate types/states, fix Rosa Garcia and Lorna Pascual references
spp_programs:
- Show "CEL Expression" as eligibility type when mode is cel
- Show actual CEL expression in eligibility summary (was just "Configured")
spp_demo:
- Fix Rosa Garcia age 67 → 72
- Fix Lorna Pascual age 32 → 551 parent bef7ecc commit aa6da89
4 files changed
Lines changed: 223 additions & 184 deletions
File tree
- spp_demo/models
- spp_mis_demo_v2
- docs
- models
- spp_programs/models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
| 712 | + | |
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| |||
0 commit comments