Lines 220-226
sub checkin {
Link Here
|
220 |
if ( !$circ->ok && $circ->alert_type && $circ->alert_type == 98 ) { # data corruption |
220 |
if ( !$circ->ok && $circ->alert_type && $circ->alert_type == 98 ) { # data corruption |
221 |
$circ->screen_msg("Checkin failed: data problem"); |
221 |
$circ->screen_msg("Checkin failed: data problem"); |
222 |
syslog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" ); |
222 |
syslog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" ); |
223 |
} elsif ( $data->{messages}->{withdrawn} && !$circ->ok ) { |
223 |
} elsif ( $data->{messages}->{withdrawn} && !$circ->ok && C4::Context->preference("BlockReturnOfWithdrawnItems") ) { |
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 && C4::Context->preference("BlockReturnOfLostItems") ) { |
226 |
} elsif ( $data->{messages}->{WasLost} && !$circ->ok && C4::Context->preference("BlockReturnOfLostItems") ) { |
227 |
- |
|
|