Lines 764-770
sub request_transfer {
Link Here
|
764 |
if ( $request && !$params->{enqueue} && !$params->{replace} ); |
764 |
if ( $request && !$params->{enqueue} && !$params->{replace} ); |
765 |
|
765 |
|
766 |
$request->cancel( { reason => $params->{reason}, force => 1 } ) |
766 |
$request->cancel( { reason => $params->{reason}, force => 1 } ) |
767 |
if ( defined($request) && $params->{replace} ); |
767 |
if ( defined($request) && $params->{replace} && ( $request->reason ne 'StockrotationAdvance' ) ); |
768 |
|
768 |
|
769 |
my $transfer = Koha::Item::Transfer->new( |
769 |
my $transfer = Koha::Item::Transfer->new( |
770 |
{ |
770 |
{ |
771 |
- |
|
|