Bug 30484: Implement support for ILL request updates
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Fri, 8 Apr 2022 15:09:30 +0000 (16:09 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 23 Sep 2022 12:18:45 +0000 (09:18 -0300)
commit65a2fc2fa33ae68716ae4305ab33f6cf56be619e
tree0122a5dbd86169909cdef3acbff62357822d8e61
parentadf0094d66c12c62b15a53637a2e45b33d251101
Bug 30484: Implement support for ILL request updates

This commit adds support for the concept of ILL request update notices.

- Adds a new Koha::Illrequest::SupplierUpdate class that is used to
encapsulate an update to a request, this update may come from a
supplier via a backend or from core ILL via, perhaps, a user action
- Adds a new Koha::Illrequest::SupplierUpdateProcessor base class that
can be subclassed in order to create a processor that can be passed an
update and act accordingly.
- Updates to Illrequest.pm to support the above classes and allow core
Koha to offer update processors
- A shell script to initiate a periodic process to check for updates
meeting given criteria and run the appropriate processors

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
https://bugs.koha-community.org/show_bug.cgi?id=28909
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Illrequest.pm
Koha/Illrequest/SupplierUpdate.pm [new file with mode: 0644]
Koha/Illrequest/SupplierUpdateProcessor.pm [new file with mode: 0644]
misc/process_ill_updates.pl [new file with mode: 0755]