Lines 48-54
use C4::Biblio qw(
Link Here
|
48 |
GetMarcUrls |
48 |
GetMarcUrls |
49 |
); |
49 |
); |
50 |
use C4::Items qw( GetHiddenItemnumbers GetItemsInfo ); |
50 |
use C4::Items qw( GetHiddenItemnumbers GetItemsInfo ); |
51 |
use C4::Circulation qw( GetTransfers ); |
|
|
52 |
use C4::Tags qw( get_tags ); |
51 |
use C4::Tags qw( get_tags ); |
53 |
use C4::XISBN qw( get_xisbns ); |
52 |
use C4::XISBN qw( get_xisbns ); |
54 |
use C4::External::Amazon qw( get_amazon_tld ); |
53 |
use C4::External::Amazon qw( get_amazon_tld ); |
Lines 733-745
if ( not $viewallitems and @items > $max_items_to_display ) {
Link Here
|
733 |
my $reserve_status = C4::Reserves::GetReserveStatus($itm->{itemnumber}); |
732 |
my $reserve_status = C4::Reserves::GetReserveStatus($itm->{itemnumber}); |
734 |
if( $reserve_status eq "Waiting"){ $itm->{'waiting'} = 1; } |
733 |
if( $reserve_status eq "Waiting"){ $itm->{'waiting'} = 1; } |
735 |
if( $reserve_status eq "Reserved"){ $itm->{'onhold'} = 1; } |
734 |
if( $reserve_status eq "Reserved"){ $itm->{'onhold'} = 1; } |
736 |
|
735 |
|
737 |
my ( $transfertwhen, $transfertfrom, $transfertto ) = GetTransfers($itm->{itemnumber}); |
736 |
|
738 |
if ( defined( $transfertwhen ) && $transfertwhen ne '' ) { |
737 |
my $transfer = $item->get_transfer; |
739 |
$itm->{transfertwhen} = $transfertwhen; |
738 |
if ( $transfer->in_transit ) { |
740 |
$itm->{transfertfrom} = $transfertfrom; |
739 |
$itm->{transfertwhen} = output_pref({ dt => dt_from_string($transfer->datesent), dateonly => 1 }); |
741 |
$itm->{transfertto} = $transfertto; |
740 |
$itm->{transfertfrom} = $transfer->frombranch; |
742 |
} |
741 |
$itm->{transfertto} = $transfer->tobranch; |
|
|
742 |
} |
743 |
|
743 |
|
744 |
if ( C4::Context->preference('OPACAcquisitionDetails') ) { |
744 |
if ( C4::Context->preference('OPACAcquisitionDetails') ) { |
745 |
$itm->{on_order} = 1 |
745 |
$itm->{on_order} = 1 |
746 |
- |
|
|