]> git.koha-community.org Git - koha.git/commit
Bug 37204: Add a booking has changed notice to update a patron should a booking be...
authorPaul Derscheid <paul.derscheid@lmscloud.de>
Wed, 28 Aug 2024 11:22:00 +0000 (13:22 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 16:27:19 +0000 (18:27 +0200)
commitd2c8bbd7cb3509ad088c884fced89659ce3013d2
treea86fdbd7a62d36e90bf6dfff7eb81dec2c357d9d
parent650d419a742ffdf237420d3678ae512f034f2ad7
Bug 37204: Add a booking has changed notice to update a patron should a booking be updated

This is a first draft. When reading your initial statement again I'm asking myself whether
a changed itemnumber is relevant to the patron.
The way I see it, the relevant fields are:
- pickup_library_id
- start_date
- end_date

But maybe I'm not seeing it.

To test:
1) Apply the patch
2) Make an item bookable
3) Add a booking for a given patron
4) Check the patron notices tab, should not contain any notices
5) Change either start date, end date or pickup library and save
6) Check the patron notices tab, should contain a notice with the updated details
7) Run the tests under t/db_dependent/Koha/Booking.t
8) Sign off

Signed-off-by: LEBSimonsen <simonsen@bz-sh.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Booking.pm
installer/data/mysql/en/mandatory/sample_notices.yml
t/db_dependent/Koha/Booking.t