https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42444

--- Comment #28 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 200939
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200939&action=edit
Bug 42444: (follow-up) Add confirmation modal to 'Cancel all'

The 'Cancel all' button previously submitted without any confirmation.
This patch wires it through the existing cancellation modal so the user
must confirm and can optionally provide a cancellation reason.

The cancellation reason is passed through to ModReserveCancelAll which
already supports it as its third parameter.

Test plan:
1. Apply patch
2. Navigate to Circulation > Holds awaiting pickup > expired tab
3. Click 'Cancel all'
=> SUCCESS: Modal appears with reason dropdown
4. Select a reason and confirm
=> SUCCESS: All expired holds cancelled with reason recorded
5. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to