Lines 776-782
sub request_transfer {
Link Here
|
776 |
if ( $request && !$params->{enqueue} && !$params->{replace} ); |
776 |
if ( $request && !$params->{enqueue} && !$params->{replace} ); |
777 |
|
777 |
|
778 |
$request->cancel( { reason => $params->{reason}, force => 1 } ) |
778 |
$request->cancel( { reason => $params->{reason}, force => 1 } ) |
779 |
if ( defined($request) && $params->{replace} ); |
779 |
if ( defined($request) && $params->{replace} && ( $request->reason ne 'StockrotationAdvance' ) ); |
780 |
|
780 |
|
781 |
my $transfer = Koha::Item::Transfer->new( |
781 |
my $transfer = Koha::Item::Transfer->new( |
782 |
{ |
782 |
{ |
783 |
- |
|
|