Lines 227-233
sub checkin {
Link Here
|
227 |
siplog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" ); |
227 |
siplog( "LOG_WARNING", "Problem with issue_id in issues and old_issues; check the about page" ); |
228 |
} elsif ( $data->{messages}->{ResFound} && !$circ->ok && $holds_block_checkin ) { |
228 |
} elsif ( $data->{messages}->{ResFound} && !$circ->ok && $holds_block_checkin ) { |
229 |
$circ->screen_msg("Item is on hold, please return to circulation desk"); |
229 |
$circ->screen_msg("Item is on hold, please return to circulation desk"); |
230 |
siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn"); |
230 |
siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item on hold"); |
231 |
} elsif ( $data->{messages}->{withdrawn} && !$circ->ok && C4::Context->preference("BlockReturnOfWithdrawnItems") ) { |
231 |
} elsif ( $data->{messages}->{withdrawn} && !$circ->ok && C4::Context->preference("BlockReturnOfWithdrawnItems") ) { |
232 |
$circ->screen_msg("Item withdrawn, return not allowed"); |
232 |
$circ->screen_msg("Item withdrawn, return not allowed"); |
233 |
siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn"); |
233 |
siplog ("LOG_DEBUG", "C4::SIP::ILS::Checkin - item withdrawn"); |