]> git.koha-community.org Git - koha.git/commit
Bug 38175: (follow-up) Refactor staff interface additions to vanilla JS; adjust modul...
authorPaul Derscheid <paul.derscheid@lmscloud.de>
Wed, 16 Oct 2024 12:13:42 +0000 (14:13 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 16:27:23 +0000 (18:27 +0200)
commit36c5a1c011af967b0103f48a1e831453cb7578b5
tree72baf72a0b1edf85eea7b19ed85db4bdf4e1883b
parentc74b1d0638217e6942d2b20571f7cf1f179d14b7
Bug 38175: (follow-up) Refactor staff interface additions to vanilla JS; adjust modules, controllers for coding guidelines and consistency

In the spirit of the current movement for more modern JS, the refactor tries to limit jQuery usage.

Test plan:
    1) Create a booking on a bookable item
    2) Cancel it and see that it's simply deleted
    3) Apply the patch and run “restart_all”.
    4) Repeat the same cancel operation and see that it's still there, albeit with a different appearance.
    5) Try the filters in the table

Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Booking.pm
Koha/Bookings.pm
Koha/REST/V1/Bookings.pm
koha-tmpl/intranet-tmpl/prog/en/modules/bookings/list.tt
koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js
koha-tmpl/intranet-tmpl/prog/js/modals/place_booking.js
t/db_dependent/Koha/Booking.t