Lines 2169-2175
sub AddReturn {
Link Here
|
2169 |
|
2169 |
|
2170 |
# Check if this item belongs to a biblio record that is attached to an |
2170 |
# Check if this item belongs to a biblio record that is attached to an |
2171 |
# ILL request, if it is we need to update the ILL request's status |
2171 |
# ILL request, if it is we need to update the ILL request's status |
2172 |
if (C4::Context->preference('CirculateILL')) { |
2172 |
if ( $doreturn and C4::Context->preference('CirculateILL')) { |
2173 |
my $request = Koha::Illrequests->find( |
2173 |
my $request = Koha::Illrequests->find( |
2174 |
{ biblio_id => $item->biblio->biblionumber } |
2174 |
{ biblio_id => $item->biblio->biblionumber } |
2175 |
); |
2175 |
); |
2176 |
- |
|
|