-
Type:
Task
-
Resolution: Done
-
Priority:
Lowest
-
Affects Version/s: None
-
FLW Sprint 38
-
FLW Mobile App
-
All
Provide an option to delete household record in case of duplicate registration.
- Provide this “household Delete Option” in All Household list
- In the All Household >> Household list, on every Household card show a button “Delete Household”
- On click “Delete Household”, show a dialog with message “Are you sure you want to delete Household of <HoF Name> ?” with “Yes” or “No” buttons
- If “Yes” is selected, then do a soft delete of the Household (deactivate Household in the backend)
- If “No” is selected, then land back to Household list.
- In this case of Household delete, delete of all Family members in the Household is applicable (i.e. delete of all Family members)
- In this case of Household delete, all Family members in this Household should not show in any module line listing (i.e. all beneficiaries list, EC, ECT, PW, ANC, Child, NCD, etc.)
- After delete, mark this Household card in orange colour and keep a label “Duplicate Record” and this card should not have any action to edit.
Note:
- when a Household is deleted, Household count should reduce accordingly (on the card in Home screen)
- when a Household is deleted, sync the record to server and update the record (status Household and all Family members)
- All the Household records, should also get at time of first time download with deleted status
- Note: ensure to pass 'timestamp' in 'updated date' attribute every time a record is edited to ensure data integrity and facilitate a clear audit trail."
- All the deleted records should not show in any other applications like mHWC and HWC applications
Acceptance Criteria:
Household Soft-deletion works with a confirmation popup.
- relates to
-
FLW-706 HH: Beneficiary moving to other modules if soft deleted
-
- Closed
-