Lines 400-407
sub MapItemsToHoldRequests {
Link Here
|
400 |
foreach my $item (@$available_items) { |
400 |
foreach my $item (@$available_items) { |
401 |
next unless $item->{holdallowed}; |
401 |
next unless $item->{holdallowed}; |
402 |
|
402 |
|
403 |
push @{ $items_by_branch{ $automatic_return ? $item->{homebranch} |
403 |
push @{ $items_by_branch{ $item->{holdingbranch} } }, $item |
404 |
: $item->{holdingbranch} } }, $item |
|
|
405 |
unless exists $allocated_items{ $item->{itemnumber} }; |
404 |
unless exists $allocated_items{ $item->{itemnumber} }; |
406 |
} |
405 |
} |
407 |
return unless keys %items_by_branch; |
406 |
return unless keys %items_by_branch; |
408 |
- |
|
|