Lines 2207-2213
sub AddReturn {
Link Here
|
2207 |
# the holdingbranch is updated if the document is returned to another location. |
2207 |
# the holdingbranch is updated if the document is returned to another location. |
2208 |
# this is always done regardless of whether the item was on loan or not |
2208 |
# this is always done regardless of whether the item was on loan or not |
2209 |
if ($item->holdingbranch ne $branch) { |
2209 |
if ($item->holdingbranch ne $branch) { |
2210 |
$item->holdingbranch($branch)->store({ skip_record_index => 1, skip_holds_queue => 1 }); |
2210 |
$item->holdingbranch($branch)->store({ log_action => 0, skip_record_index => 1, skip_holds_queue => 1 }); |
2211 |
} |
2211 |
} |
2212 |
|
2212 |
|
2213 |
my $item_was_lost = $item->itemlost; |
2213 |
my $item_was_lost = $item->itemlost; |
2214 |
- |
|
|