Details
-
Story
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
Description
Purpose: To implement v1 deletion of Fixed Due Date Schedules.
Scenarios:
- Scenario
- Given the About section of the Fixed due date schedule detail page
- When displayed
- Then a delete button should display as shown in the wireframes
- Scenario
- Given the Delete button/icon on the edit view of Fixed Due Date Schedule in Settings > Circulation
- When clicked
- Then a window will pop up asking user to confirm the deletion or cancel the deletion similar to the one shown in Delete Permission set_preview.png
- Header: Delete fixed due date schedule?
- Body: <ScheduleName> will be removed from fixed due date schedules.
- Buttons: Cancel, Delete
- Scenario
- Given the Delete button on the confirmation window
- When clicked
- Then:
- The fixed due date set will be deleted
- A confirmation will appear after the deletion has occurred reading, "The fixed due date schedule <scheduleName> was successfully deleted." Similar to the attached Permission set deleted success_preview.png
- The user will be returned to the fixed due date schedule list
- Deleted schedule should no longer appear in Loan policy menus
- Scenario
- Given the Cancel button on the confirmation window
- When clicked
- Then the fixed due date schedule will not be deleted and the user will be returned to the edit Fixed due date schedule page
- Scenario
- Given the fixed due date schedule is in use in one or more loan policy
- When delete button is displayed
- Then it should be inactive with rollover text reading "Schedule cannot be deleted when used by one or more loan policy"
Wireframes and mockups:
- Fixed due date schedule wireframes: https://drive.google.com/drive/folders/0B18Bhhmr94zaMHpzb2MtWUJuMms
- Delete confirmation and success message mockups are attached (NOTE: these mock-ups were created for Permission Set deletion, but they are attached here for reference vis-a-vis styling.