]> git.koha-community.org Git - koha.git/commit
Bug 25814: SIP: Add a message on successful checkin.
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Thu, 17 Oct 2019 14:48:43 +0000 (16:48 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 8 Nov 2023 14:41:23 +0000 (11:41 -0300)
commitc125aa7ecd29b555f2d2c0753f309f88d16268c3
treeeef171a38cfd173665e3dfc4965431ccc826f33e
parent41ab406221e2c45c3138805afa884bdb10762506
Bug 25814: SIP: Add a message on successful checkin.

Currently, Koha does not return a message on successful SIP checkin.

This patchs adds the show_checkin_message option to SIPconfig.xml, disabled by
default. When enabled, the following message is displayed on SIP checkin:

"Item checked-in: {homebranch|permanent_location} - {location}"

The UseLocationAsAQInSIP system preference is used to determine whether the
homebranch or the permanent location will be used.

Test plan:

 - Perform a successful checkin using SIP
 - Check that the message is in the checkin response (AF field)
 - prove t/db_dependent/SIP/Transaction.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Edit (tcohen): tidied the whole subtest.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/SIP/ILS.pm
etc/SIPconfig.xml
t/db_dependent/SIP/Transaction.t