]> git.koha-community.org Git - koha.git/commit
Bug 29002: Add modal based booking cancellation
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Dec 2021 14:59:17 +0000 (14:59 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:09 +0000 (12:04 -0300)
commit21fb4634455607f48bd89e1379393b78e0880d74
tree620f4c58607d80ee65a68e0b9aae9a0a3871f131
parent2ff5cf976c39d5d0759492a078f0623575bcdc31
Bug 29002: Add modal based booking cancellation

This patch adds a modal based booking cancellation flow to the biblio
bookings display tab page.

Test plan
1) Follow the test plans for the previous patches
2) Note a new column now appears in the bookings table with a 'Cancel'
   action button against each booking
3) Cancel one of the bookings using the new cancel button
4) A modal dialog should appear allowing you to continue with the
   cancelation or cancel
5) Confirm the cancelled booking is removed from the bookings table
6) Sign off

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/modals/cancel_booking.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt
koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js [new file with mode: 0644]