Lines 640-655
$template->param(
Link Here
|
640 |
|
640 |
|
641 |
$itemnumber = GetItemnumberFromBarcode( $barcode ); |
641 |
$itemnumber = GetItemnumberFromBarcode( $barcode ); |
642 |
if ( $itemnumber ) { |
642 |
if ( $itemnumber ) { |
643 |
my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); |
643 |
my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); |
644 |
$holdingBranch //= ''; |
644 |
if ( $holdingBranch and $collectionBranch ) { |
645 |
$collectionBranch //= $returnbranch; |
645 |
$holdingBranch //= ''; |
646 |
if ( ! ( $holdingBranch eq $collectionBranch ) ) { |
646 |
$collectionBranch //= $returnbranch; |
647 |
$template->param( |
647 |
if ( ! ( $holdingBranch eq $collectionBranch ) ) { |
648 |
collectionItemNeedsTransferred => 1, |
648 |
$template->param( |
649 |
collectionBranchName => GetBranchName($collectionBranch), |
649 |
collectionItemNeedsTransferred => 1, |
650 |
collectionBranch => $collectionBranch, |
650 |
collectionBranchName => GetBranchName($collectionBranch), |
651 |
itemnumber => $itemnumber, |
651 |
collectionBranch => $collectionBranch, |
652 |
); |
652 |
itemnumber => $itemnumber, |
|
|
653 |
); |
654 |
} |
653 |
} |
655 |
} |
654 |
} |
656 |
} |
655 |
|
657 |
|
656 |
- |
|
|