fix(members): fix root cause of orphaned person_ids in retroactive wizard
The fallback `$sub['person_id'] ?? $memberId` silently assigned member's
own ID to spouse/child/temporary subscription rows when person_index
didn't map. Now resolves by name from the dependent table, or skips the
row entirely if no match is found.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment