From 95cf957ee22442c3d72da92b5c15e016defe5283 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 Rescued-by: Martin Renvoize Signed-off-by: Martin Renvoize --- C4/SIP/ILS.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index 1c68c4b82d..e91588777c 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.20.1