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