“Register Husband/Wife” Button Visible Even After Spouse is Already Registered

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 1.3
    • 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:

      1. Register a married beneficiary (e.g., Male)
      2. Observe “Register Wife” button is displayed
      3. Click and add spouse using Add Member
      4. Navigate back to All Beneficiaries list
      5. 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

        1. image-2026-07-31-14-05-39-198.png
          120 kB
          Nidhi Saini
        2. image-2026-07-31-17-20-28-379.png
          119 kB
          Nidhi Saini
        3. image-2026-07-31-17-21-43-516.png
          112 kB
          Nidhi Saini

              Assignee:
              Nidhi Saini
              Reporter:
              Nidhi Saini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: