]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1804066: Don't allow overlapping bookings
authorJane Sandberg <js7389@princeton.edu>
Wed, 23 Aug 2023 04:48:34 +0000 (21:48 -0700)
committerTerran McCanna <tmccanna@georgialibraries.org>
Sat, 11 Nov 2023 01:09:25 +0000 (20:09 -0500)
commit152c23716f4e609319c6dd511added8e600868f4
treef6ef5f3012f160227a8c9620e8cdb8ea3fcc5e70
parentfc18c155580c7a82b2ff5b22621d27e1fb000d25
LP1804066: Don't allow overlapping bookings

Note: this includes a change to the concerto test data.  You will
need to reload the concerto data set before successfully running
the included live tests.

To test:

1. Go to the Booking > Create Reservation
2. Choose resource by type: find a resource type that only has a single resource for ease of testing.
3. Select a time slot and press Create Reservation
4. Select a patron.
5. In a second tab, repeat the steps, being sure to select the same resource and time slot, but a
different patron.
6. Press Confirm Reservation in one of your tabs.
7. Confirm that the reservation was made correctly.
8. Press Confirm Reservation in the second tab.
9. Confirm that the conflicting booking does not go through.

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/booking/create-reservation-dialog.component.spec.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/booking/create-reservation-dialog.component.ts
Open-ILS/src/perlmods/lib/OpenILS/Application/Booking.pm
Open-ILS/src/perlmods/live_t/37-booking.t [new file with mode: 0644]
Open-ILS/tests/datasets/sql/concerto/booking_resources_types.sql