Lines 742-748
sub request_transfer {
Link Here
|
742 |
if ( $request && !$params->{enqueue} && !$params->{replace} ); |
742 |
if ( $request && !$params->{enqueue} && !$params->{replace} ); |
743 |
|
743 |
|
744 |
$request->cancel( { reason => $params->{reason}, force => 1 } ) |
744 |
$request->cancel( { reason => $params->{reason}, force => 1 } ) |
745 |
if ( defined($request) && $params->{replace} ); |
745 |
if ( defined($request) && $params->{replace} && ( $request->reason ne 'StockrotationAdvance' ) ); |
746 |
|
746 |
|
747 |
my $transfer = Koha::Item::Transfer->new( |
747 |
my $transfer = Koha::Item::Transfer->new( |
748 |
{ |
748 |
{ |
749 |
- |
|
|