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 |
- |
|
|