-
Type:
Bug
-
Resolution: Done
-
Priority:
Highest
-
Affects Version/s: 3.8.2
-
None
-
FLW Mobile App
-
Prod
Description:
In the Delivery Outcome module, the incentive "Escorting for Institutional Delivery (Government Hospital)" is being generated even when the user selects Private Hospital as the place of delivery.
As per the business logic, this incentive should be generated only when the delivery is completed in a Government Hospital.
Navigation:
Maternal Health → Delivery Outcome
Steps to Reproduce:
- Login to the FLW application.
- Navigate to Maternal Health → Delivery Outcome.
- Select an eligible beneficiary.
- Set Place of Delivery as Private Hospital.
- Complete and submit the Delivery Outcome form.
- Check the generated incentives.
Actual Result:
- The incentive "Escorting for Institutional Delivery (Government Hospital)" is generated even when Private Hospital is selected.
Expected Result:
- The incentive should not be generated when Private Hospital is selected.
- The incentive "Escorting for Institutional Delivery (Government Hospital)" should be generated only when the Place of Delivery is Government Hospital, as per the defined business logic.