From 046b07b0b8444ed0a0f2b3fb58bfdbb04e5098fb Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 9 Jan 2019 07:02:30 -0500 Subject: [PATCH] Bug 22076 - Fix the same situation for lost items Signed-off-by: Geeta Halley --- C4/SIP/ILS.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index 51e0db144b..c6d15a4258 100644 --- a/C4/SIP/ILS.pm +++ b/C4/SIP/ILS.pm @@ -223,6 +223,9 @@ sub checkin { } elsif( $data->{messages}->{withdrawn} && !$circ->ok ) { $circ->screen_msg("Item withdrawn, return not allowed"); syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn"); + } elsif( $data->{messages}->{WasLost} && !$circ->ok ) { + $circ->screen_msg("Item lost, return not allowed"); + syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item lost"); } elsif( !$item->{patron} ) { if( $checked_in_ok ) { # Mark checkin ok although book not checked out $circ->ok( 1 ); -- 2.17.2 (Apple Git-113)