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"
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.
Theodor Tolstoy (One-Group.se) February 16, 2018 at 8:55 AM
it works. You just have to reload the page in order to have the new schedule visible in the ui. I will file a bug for that one
Theodor Tolstoy (One-Group.se) February 16, 2018 at 8:42 AM
Works!
Aditya matukumalli February 15, 2018 at 9:31 PM
Digging through this issue, I was able to confirm scenario 5. The delete button is disabled with the proper hover message when a Fixed due date schedule is connected to one or more loan policies. Can you please verify this on your end and confirm again? Thanks.
Theodor Tolstoy (One-Group.se) February 11, 2018 at 10:23 PM
Ok, thank you for clarifying that. I suspected, but was not entirely sure.
Zak Burke February 10, 2018 at 8:11 PM
the delete Fixed due date schedule button does not appear until you click the Edit button
This is by design and is how delete operations are managed for all complex objects in Settings; Loan Policies works the same way. Only simple key-value items (e.g. Organization > Shelving Locations, Users > Address Types) have in-line edit and delete.
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.