Lines 551-570
$template->param(
Link Here
|
551 |
BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"), |
551 |
BlockReturnOfWithdrawnItems => C4::Context->preference("BlockReturnOfWithdrawnItems"), |
552 |
); |
552 |
); |
553 |
|
553 |
|
554 |
### Comment out rotating collections for now to allow it a little more time to bake |
554 |
my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') ); |
555 |
### for 3.4; in particular, must ensure that it doesn't fight with transfers required |
555 |
if ( $itemnumber ) { |
556 |
### to fill hold requests |
556 |
my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); |
557 |
### -- Galen Charlton 2010-10-06 |
557 |
if ( ! ( $holdingBranch eq $collectionBranch ) ) { |
558 |
#my $itemnumber = GetItemnumberFromBarcode( $query->param('barcode') ); |
558 |
$template->param( |
559 |
#if ( $itemnumber ) { |
559 |
collectionItemNeedsTransferred => 1, |
560 |
# my ( $holdingBranch, $collectionBranch ) = GetCollectionItemBranches( $itemnumber ); |
560 |
collectionBranch => GetBranchName($collectionBranch), |
561 |
# if ( ! ( $holdingBranch eq $collectionBranch ) ) { |
561 |
); |
562 |
# $template->param( |
562 |
} |
563 |
# collectionItemNeedsTransferred => 1, |
563 |
} |
564 |
# collectionBranch => GetBranchName($collectionBranch), |
|
|
565 |
# ); |
566 |
# } |
567 |
#} |
568 |
|
564 |
|
569 |
# actually print the page! |
565 |
# actually print the page! |
570 |
output_html_with_http_headers $query, $cookie, $template->output; |
566 |
output_html_with_http_headers $query, $cookie, $template->output; |