-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
When a married beneficiary is registered, the system correctly shows the “Register Wife” / “Register Husband” button initially.
However, after adding the spouse via Add Member, the same “Register Husband/Wife” button still continues to appear, which is incorrect.
Steps to Reproduce:
- Register a married beneficiary (e.g., Male)
- Observe “Register Wife” button is displayed
- Click and add spouse using Add Member
- Navigate back to All Beneficiaries list
- Observe the same beneficiary card
Expected Result:
- Once spouse is added:
- “Register Husband/Wife” button should be hidden/disabled
- System should recognize spouse is already registered
Actual Result:
- “Register Husband/Wife” button still visible even after spouse registration
- Allows duplicate spouse entries
