View | Details | Raw Unified | Return to bug 22076
Collapse All | Expand All

(-)a/C4/SIP/ILS.pm (-1 / +3 lines)
Lines 223-228 sub checkin { Link Here
223
    } elsif( $data->{messages}->{withdrawn} && !$circ->ok ) {
223
    } elsif( $data->{messages}->{withdrawn} && !$circ->ok ) {
224
            $circ->screen_msg("Item withdrawn, return not allowed");
224
            $circ->screen_msg("Item withdrawn, return not allowed");
225
            syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn");
225
            syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn");
226
    } elsif( $data->{messages}->{WasLost} && !$circ->ok ) {
227
            $circ->screen_msg("Item lost, return not allowed");
228
            syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item lost");
226
    } elsif( !$item->{patron} ) {
229
    } elsif( !$item->{patron} ) {
227
        if( $checked_in_ok ) { # Mark checkin ok although book not checked out
230
        if( $checked_in_ok ) { # Mark checkin ok although book not checked out
228
            $circ->ok( 1 );
231
            $circ->ok( 1 );
229
- 

Return to bug 22076