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