Lines 134-144
foreach my $biblionumber ( @bibs ) {
Link Here
|
134 |
if ($itm->{'location'}){ |
134 |
if ($itm->{'location'}){ |
135 |
$itm->{'location_opac'} = $shelflocations->{$itm->{'location'} }; |
135 |
$itm->{'location_opac'} = $shelflocations->{$itm->{'location'} }; |
136 |
} |
136 |
} |
137 |
my ( $transfertwhen, $transfertfrom, $transfertto ) = GetTransfers($itm->{itemnumber}); |
137 |
my $item_object = Koha::Items->find($itm->{itemnumber}); |
138 |
if ( defined( $transfertwhen ) && $transfertwhen ne '' ) { |
138 |
my $transfer = $item_object->get_transfer; |
139 |
$itm->{transfertwhen} = $transfertwhen; |
139 |
if ( $transfer->in_transit ) { |
140 |
$itm->{transfertfrom} = $transfertfrom; |
140 |
$itm->{transfertwhen} = output_pref({ dt => dt_from_string($transfer->datesent), dateonly => 1 }); |
141 |
$itm->{transfertto} = $transfertto; |
141 |
$itm->{transfertfrom} = $transfer->frombranch; |
|
|
142 |
$itm->{transfertto} = $transfer->tobranch; |
142 |
} |
143 |
} |
143 |
} |
144 |
} |
144 |
$num++; |
145 |
$num++; |
145 |
- |
|
|