|
Lines 439-446
sub get_lostreturn_policy {
Link Here
|
| 439 |
|
439 |
|
| 440 |
my $behaviour = C4::Context->preference( 'RefundLostOnReturnControl' ) // 'CheckinLibrary'; |
440 |
my $behaviour = C4::Context->preference( 'RefundLostOnReturnControl' ) // 'CheckinLibrary'; |
| 441 |
my $behaviour_mapping = { |
441 |
my $behaviour_mapping = { |
| 442 |
CheckinLibrary => $params->{'return_branch'}, |
442 |
CheckinLibrary => $params->{'return_branch'} // $item->homebranch, |
| 443 |
ItemHomeBranch => $item->homebranch, |
443 |
ItemHomeBranch => $item->homebranch, |
| 444 |
ItemHoldingBranch => $item->holdingbranch |
444 |
ItemHoldingBranch => $item->holdingbranch |
| 445 |
}; |
445 |
}; |
| 446 |
|
446 |
|