Bug 8836 [QA Followup] - Don't transfer in items already in transit
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
45eb7e6d4f
commit
1d7622a90f
1 changed files with 2 additions and 1 deletions
|
@ -435,7 +435,8 @@ sub TransferCollection {
|
|||
my @results;
|
||||
while ( my $item = $sth->fetchrow_hashref ) {
|
||||
my ($status) = CheckReserves( $item->{itemnumber} );
|
||||
transferbook( $colBranchcode, $item->{barcode}, my $ignore_reserves = 1 ) unless ( $status eq 'Waiting' );
|
||||
my @transfers = GetTransfers( $item->{itemnumber} );
|
||||
transferbook( $colBranchcode, $item->{barcode}, my $ignore_reserves = 1 ) unless ( $status eq 'Waiting' || @transfers );
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue