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

(-)a/C4/Circulation.pm (-2 / +8 lines)
Lines 2183-2190 sub AddReturn { Link Here
2183
                $validTransfer = 1 if $transfer->reason eq 'Reserve';
2183
                $validTransfer = 1 if $transfer->reason eq 'Reserve';
2184
            }
2184
            }
2185
            else {
2185
            else {
2186
                $messages->{'WasTransfered'}   = $transfer->tobranch;
2187
                $messages->{'TransferTrigger'} = $transfer->reason;
2186
                $messages->{'TransferTrigger'} = $transfer->reason;
2187
                if ( $transfer->frombranch eq $branch ) {
2188
                    $transfer->transit;
2189
                    $messages->{'WasTransfered'}   = $transfer->tobranch;
2190
                }
2191
                else {
2192
                    $messages->{'WrongTransfer'}     = $transfer->tobranch;
2193
                    $messages->{'WrongTransferItem'} = $item->itemnumber;
2194
                }
2188
            }
2195
            }
2189
        }
2196
        }
2190
    }
2197
    }
2191
- 

Return to bug 29234