Details
-
Task
-
Resolution: Completed
-
Medium
-
None
-
None
-
AE Sprint 147
-
Non-GxP
-
A
Description
Enhance the existing Cancellation process to alert the user before cancelling an AFW. Only an 'In Progress' AFW should be allowed for cancellation.
Acceptance Criteria
Given an AFW which is 'In Progress', when a user clicks the Cancel button, then the system should alert the user with a pop-up to confirm the cancellation.
The alert message should display - 'Cancelling an AFW will freeze all its fields, thus making it non-editable. The cancelled AFW will still be visible in the AFW Records table for future reference. Are you sure you want to Cancel the AFW?'
The alert should have two buttons - Yes and No. If the user clicks Yes, the system should ask for a Cancellation Reason and then the AFW should proceed for cancellation. If No. just close the alert pop-up.