Lines 2171-2176
sub AddReturn {
Link Here
|
2171 |
if ( $transfer->tobranch eq $branch ) { |
2171 |
if ( $transfer->tobranch eq $branch ) { |
2172 |
$transfer->receive; |
2172 |
$transfer->receive; |
2173 |
$messages->{'TransferArrived'} = $transfer->frombranch; |
2173 |
$messages->{'TransferArrived'} = $transfer->frombranch; |
|
|
2174 |
$validTransfer = 1 if $transfer->reason eq 'Reserve'; |
2174 |
} |
2175 |
} |
2175 |
else { |
2176 |
else { |
2176 |
$messages->{'WrongTransfer'} = $transfer->tobranch; |
2177 |
$messages->{'WrongTransfer'} = $transfer->tobranch; |
Lines 2181-2186
sub AddReturn {
Link Here
|
2181 |
if ( $transfer->tobranch eq $branch ) { |
2182 |
if ( $transfer->tobranch eq $branch ) { |
2182 |
$transfer->receive; |
2183 |
$transfer->receive; |
2183 |
$messages->{'TransferArrived'} = $transfer->frombranch; |
2184 |
$messages->{'TransferArrived'} = $transfer->frombranch; |
|
|
2185 |
$validTransfer = 1 if $transfer->reason eq 'Reserve'; |
2184 |
} |
2186 |
} |
2185 |
else { |
2187 |
else { |
2186 |
$messages->{'WasTransfered'} = $transfer->tobranch; |
2188 |
$messages->{'WasTransfered'} = $transfer->tobranch; |