-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
-
STOP TB Sprint 5
When TB Screening is completed for one beneficiary, the count is incorrectly displayed as 2 instead of 1. Similarly, when screening is done for a second beneficiary, the count increases to 4 instead of 2, indicating duplication or incorrect calculation logic.
Additionally, even when the Camp Hub is connected, the completed TB Screening records are shown under the Un-synced column instead of being automatically synced. The data only moves to the Synced column after manually clicking the Refresh button.
Steps to Reproduce:
- Go to Beneficiary list
- Fill TB Screening form for one beneficiary
- Navigate to Dashboard / Sync Summary
- Observe TB Screening count
- Fill TB Screening for another beneficiary
- Check the updated count
- Observe Sync status without clicking refresh
Actual Result:
- TB Screening count is incorrect (1 → 2, 2 → 4)
- Records appear in Un-synced even when connected
- Sync happens only after manual refresh
Expected Result:
- TB Screening count should be accurate (1 → 2 → 3…)
- Data should auto-sync when Camp Hub is connected
- Records should directly appear under Synced
