Lines 223-229
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 ) { |
226 |
} elsif ( $data->{messages}->{WasLost} && !$circ->ok && C4::Context->preference("BlockReturnOfLostItems") ) { |
227 |
$circ->screen_msg("Item lost, return not allowed"); |
227 |
$circ->screen_msg("Item lost, return not allowed"); |
228 |
syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item lost"); |
228 |
syslog("LOG_DEBUG", "C4::SIP::ILS::Checkin - item lost"); |
229 |
} elsif ( !$item->{patron} ) { |
229 |
} elsif ( !$item->{patron} ) { |
230 |
- |
|
|