From 2153d851a094c6617551381899f8ec54d9e2fb0e 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 Signed-off-by: Nick Clemens --- 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.39.5