Files
usher-manage-stack/app/Models/Member.php
gbanyan 2faefb5872 Add identity_type and guardian relationship to members
- Add identity_type field (patient/parent) to distinguish 病友/家長
- Add guardian_member_id for parent-child relationships
- Add guardian() and dependents() relationships
- Add isPatient(), isParent() helper methods
- Add identity_type_label accessor

Data updated:
- 47 members set as patient, 4 as parent
- 25 members with approved disability, 26 without
- 張序 linked to guardian 張誠駿
- Payment amounts corrected based on 2024 accounting records

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 04:34:36 +08:00

12 KiB