Lines 34-40
use C4::Serials qw( CountSubscriptionFromBiblionumber SearchSubscriptions GetLat
Link Here
|
34 |
use C4::Output qw( output_html_with_http_headers ); |
34 |
use C4::Output qw( output_html_with_http_headers ); |
35 |
use C4::Biblio qw( GetBiblioData GetFrameworkCode ); |
35 |
use C4::Biblio qw( GetBiblioData GetFrameworkCode ); |
36 |
use C4::Items qw( GetAnalyticsCount GetHostItemsInfo GetItemsInfo ); |
36 |
use C4::Items qw( GetAnalyticsCount GetHostItemsInfo GetItemsInfo ); |
37 |
use C4::Circulation qw( GetTransfers ); |
|
|
38 |
use C4::Reserves; |
37 |
use C4::Reserves; |
39 |
use C4::Serials qw( CountSubscriptionFromBiblionumber SearchSubscriptions GetLatestSerials ); |
38 |
use C4::Serials qw( CountSubscriptionFromBiblionumber SearchSubscriptions GetLatestSerials ); |
40 |
use C4::XISBN qw( get_xisbns ); |
39 |
use C4::XISBN qw( get_xisbns ); |
Lines 397-407
foreach my $item (@items) {
Link Here
|
397 |
} |
396 |
} |
398 |
|
397 |
|
399 |
# Check the transit status |
398 |
# Check the transit status |
400 |
my ( $transfertwhen, $transfertfrom, $transfertto ) = GetTransfers($item->{itemnumber}); |
399 |
my $transfer = $item_object->get_transfer; |
401 |
if ( defined( $transfertwhen ) && ( $transfertwhen ne '' ) ) { |
400 |
if ( $transfer && $transfer->in_transit ) { |
402 |
$item->{transfertwhen} = $transfertwhen; |
401 |
$item->{transfertwhen} = $transfer->datesent; |
403 |
$item->{transfertfrom} = $transfertfrom; |
402 |
$item->{transfertfrom} = $transfer->frombranch; |
404 |
$item->{transfertto} = $transfertto; |
403 |
$item->{transfertto} = $transfer->tobranch; |
405 |
$item->{nocancel} = 1; |
404 |
$item->{nocancel} = 1; |
406 |
} |
405 |
} |
407 |
|
406 |
|
408 |
- |
|
|