Bug 38193

Summary: Add cancellation_reason field to bookings table
Product: Koha Reporter: Paul Derscheid <paul.derscheid>
Component: CirculationAssignee: Paul Derscheid <paul.derscheid>
Status: Needs documenting --- QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, lucas, martin.renvoize
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: Sponsored
Patch complexity: Trivial patch Documentation contact:
Documentation submission: Text to go in the release notes:
This enhancement adds a `cancellation_reason` field to the bookings table, allowing users to specify a reason for cancellations using either free text or an authorized value, and integrates this information into the cancellation process and notices.
Version(s) released in:
24.11.00
Circulation function: Bookings
Bug Depends on: 29002    
Bug Blocks: 38222    
Attachments: Bug 38193: Add cancellation_reason field to bookings table
Bug 38193: Add cancellation_reason field to bookings table
Bug 38193: Add cancellation_reason field to bookings table

Description Paul Derscheid 2024-10-17 11:20:36 UTC
In line with other modules, we'd like to specify a reason for a cancellation, either free text or an authorised value.

Then we want to use it when cancelling and within the cancellation notice.
Comment 1 Paul Derscheid 2024-10-17 12:00:52 UTC
Created attachment 172867 [details] [review]
Bug 38193: Add cancellation_reason field to bookings table

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Comment 2 Thibaud Guillot (thibaud_g) 2024-10-17 12:31:20 UTC
Created attachment 172869 [details] [review]
Bug 38193: Add cancellation_reason field to bookings table

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Signed-off-by: Thibaud Guillot <thibaud.guillot@biblibre.com>
Comment 3 Martin Renvoize (ashimema) 2024-10-17 14:17:55 UTC
Created attachment 172885 [details] [review]
Bug 38193: Add cancellation_reason field to bookings table

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Signed-off-by: Thibaud Guillot <thibaud.guillot@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 4 Martin Renvoize (ashimema) 2024-10-17 14:18:28 UTC
Discussed with Paul, I know there's more coming for the UX on this.. I think this bug as it stands is fine to PQA :)
Comment 5 Katrin Fischer 2024-10-24 16:28:12 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 6 Lucas Gass (lukeg) 2024-11-18 23:07:11 UTC
Enhancement, no 24.05.x backport