From 8d7ac0a8b7add055660e4b45e4722a049cd108f3 Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Thu, 17 Oct 2019 16:48:43 +0200 Subject: [PATCH] Bug 25814: SIP: Add a message on successful checkin. Currently, Koha does not return a message on successful SIP checkin. This patchs adds the following message: - "Item checked-in: {homebranch} - {location}" Test plan: - Perform a successful checkin using SIP - Check that the message is in the checkin response (AF field) --- C4/SIP/ILS.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index 7cff9c0579..0e6c0d8373 100644 --- a/C4/SIP/ILS.pm +++ b/C4/SIP/ILS.pm @@ -235,6 +235,7 @@ sub checkin { siplog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item not checked out"); } } elsif ( $circ->ok ) { + $circ->screen_msg("Item checked-in: " . $item->{permanent_location} . " - " . $item->{location}); $circ->patron( $patron = C4::SIP::ILS::Patron->new( $item->{borrowernumber} ) ); delete $item->{borrowernumber}; delete $item->{due_date}; -- 2.11.0