Batch Approval successful but user sees error message

Description

When completing batch approval I receive an error message saying there is an error with this request, but after reviewing the requisitions I can see that the requisitions are approved.

Steps to reproduce:
1. Ensure there are more than 1 requisitions in authorized state and available to approve. Use uat.openlmis.org environment that has batch approval enabled.
2. Select more than one requisition and click "View Selected Requisitions".
3. Make edits to approved quantity, then click Revert. Then click "Approve".
4. See attached error message, then in the background the confirmation message appears saying the requisitions have been approved.
5. Go to View Requisitions and search for the requisitions, they are now in approved status.

Expected Results:
1. User doesn't see an error message if there is no error. User sees confirmation message and requisitions have been approved successfully.

Environment

uat.openlmis.org

Assignee

Unassigned

Reporter

Sam Im

Affects versions

Priority

Major
Configure