View | Details | Raw Unified | Return to bug 29234
Collapse All | Expand All

(-)a/C4/Circulation.pm (-2 / +8 lines)
Lines 2293-2300 sub AddReturn { Link Here
2293
                $validTransfer = 1 if $transfer->reason eq 'Reserve';
2293
                $validTransfer = 1 if $transfer->reason eq 'Reserve';
2294
            }
2294
            }
2295
            else {
2295
            else {
2296
                $messages->{'WasTransfered'}   = $transfer->tobranch;
2297
                $messages->{'TransferTrigger'} = $transfer->reason;
2296
                $messages->{'TransferTrigger'} = $transfer->reason;
2297
                if ( $transfer->frombranch eq $branch ) {
2298
                    $transfer->transit;
2299
                    $messages->{'WasTransfered'}   = $transfer->tobranch;
2300
                }
2301
                else {
2302
                    $messages->{'WrongTransfer'}     = $transfer->tobranch;
2303
                    $messages->{'WrongTransferItem'} = $item->itemnumber;
2304
                }
2298
            }
2305
            }
2299
        }
2306
        }
2300
    }
2307
    }
2301
- 

Return to bug 29234