Bugzilla – Attachment 173313 Details for
Bug 38222
Let staff pick a cancellation reason when canceling a booking
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38222: Add cancellation reason to bookings patch definition; reformat bookings definition
Bug-38222-Add-cancellation-reason-to-bookings-patc.patch (text/plain), 1.88 KB, created by
Martin Renvoize (ashimema)
on 2024-10-25 07:28:26 UTC
(
hide
)
Description:
Bug 38222: Add cancellation reason to bookings patch definition; reformat bookings definition
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-25 07:28:26 UTC
Size:
1.88 KB
patch
obsolete
>From acf889ce178e201a379e08ac2ad8bd1ffd49ddfd Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Wed, 23 Oct 2024 16:41:22 +0000 >Subject: [PATCH] Bug 38222: Add cancellation reason to bookings patch > definition; reformat bookings definition >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/> >Signed-off-by: LEBSimonsen <simonsen@bz-sh.de> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > api/v1/swagger/definitions/booking.yaml | 4 ++-- > api/v1/swagger/definitions/booking_patch.yaml | 5 +++++ > 2 files changed, 7 insertions(+), 2 deletions(-) > >diff --git a/api/v1/swagger/definitions/booking.yaml b/api/v1/swagger/definitions/booking.yaml >index 0ca253c23b5..0893dfdc24b 100644 >--- a/api/v1/swagger/definitions/booking.yaml >+++ b/api/v1/swagger/definitions/booking.yaml >@@ -14,7 +14,7 @@ properties: > description: Booking cancellation reason > type: > - string >- - "null" >+ - 'null' > creation_date: > description: Creation date and time of this booking > readOnly: true >@@ -63,7 +63,7 @@ properties: > description: Status of the booking > type: > - string >- - "null" >+ - 'null' > required: > - biblio_id > - item_id >diff --git a/api/v1/swagger/definitions/booking_patch.yaml b/api/v1/swagger/definitions/booking_patch.yaml >index f8fd060653d..dee20853e8a 100644 >--- a/api/v1/swagger/definitions/booking_patch.yaml >+++ b/api/v1/swagger/definitions/booking_patch.yaml >@@ -8,6 +8,11 @@ properties: > description: Internal booking identifier > readOnly: true > type: integer >+ cancellation_reason: >+ description: Booking cancellation reason >+ type: >+ - string >+ - 'null' > creation_date: > description: Creation date and time of this booking > readOnly: true >-- >2.47.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38222
:
173230
|
173231
|
173232
|
173233
|
173264
|
173265
|
173277
|
173278
|
173281
|
173282
|
173312
| 173313 |
173314
|
173315
|
173316
|
173317
|
173318
|
173319
|
173320
|
173321
|
173322
|
173323
|
173336
|
173337
|
173338
|
173339