Lines 355-365
foreach my $item (@items) {
Link Here
|
355 |
} |
355 |
} |
356 |
|
356 |
|
357 |
# Check the transit status |
357 |
# Check the transit status |
358 |
my ( $transfertwhen, $transfertfrom, $transfertto ) = GetTransfers($item->{itemnumber}); |
358 |
my $transfer = $item_object->get_transfer; |
359 |
if ( defined( $transfertwhen ) && ( $transfertwhen ne '' ) ) { |
359 |
if ( $transfer->in_transit ) { |
360 |
$item->{transfertwhen} = $transfertwhen; |
360 |
$item->{transfertwhen} = output_pref({ dt => dt_from_string($transfer->datesent), dateonly => 1 }); |
361 |
$item->{transfertfrom} = $transfertfrom; |
361 |
$item->{transfertfrom} = $transfer->frombranch; |
362 |
$item->{transfertto} = $transfertto; |
362 |
$item->{transfertto} = $transfer->tobranch; |
363 |
$item->{nocancel} = 1; |
363 |
$item->{nocancel} = 1; |
364 |
} |
364 |
} |
365 |
|
365 |
|
366 |
- |
|
|