Bug 40909

Summary: Cannot cancel bookings from timeline
Product: Koha Reporter: Hammat wele <hammat.wele>
Component: Staff interfaceAssignee: Hammat wele <hammat.wele>
Status: CLOSED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: caroline.cyr-la-rose, gmcharlt, Laura.escamilla, philippe.blouin
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Hammat wele 2025-09-30 13:25:10 UTC
It is impossible to cancel a scheduled booking from the timeline.
When clicking on the button "Yes, cancel scheduled booking", nothing happens.

Test plan

Prerequisites

1. Create a biblio record and an item (with a barcode).
2. Enable the "Place booking" feature on the item.
    2.1. In the biblio record details, click on the item’s barcode.
    2.2. In the "Priority" section, find "Bookable" field, change it to Yes and click Update.
3. Find a patron’s cardnumber.
4. Create multiple bookings (at least 3):
    4.1. In the biblio record, click Place booking (next to the Place hold button).
    4.2. Enter the patron’s cardnumber.
    4.3. Select a pickup library.
    4.4. Select the item type.
    4.5. Choose the booking date range.
    4.6. Click Submit.

Cancel a scheduled booking

1. Open the biblio record details.
2. Click on Bookings link (left navigation).
3. Find the Booking in the timeline and click on it.
   --->It turns yellow with a red X at the right.
4. Click the red X to cancel.
5. In the popup, Click on "Yes, cancel booking".
    --->Nothing happens.
Comment 1 Laura Escamilla 2025-10-03 15:42:41 UTC

*** This bug has been marked as a duplicate of bug 39768 ***