Bug 29221: Correctly display refund info
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Oct 2021 09:39:48 +0000 (11:39 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Oct 2021 08:04:34 +0000 (10:04 +0200)
commit4aaf383e527ff4b165696e8dd982daf82abb6ff2
tree5f1df13cba271f4659afcbec4ae8e96336b11101
parent9d858dc8ea95dd5ddcaa98f9f69a537c115cca0a
Bug 29221: Correctly display refund info

2132             $messages->{'LostItemFeeRefunded'} = $updated_item->{_refunded};

But, in returns.pl:
495     elsif ( $code eq 'LostItemFeeRefunded' ) {
496         $template->param( LostItemFeeRefunded => 1 );
497     }

1. Set BlockReturnOfLostItems to 'don't block'
2. Make sure your 'Default lost item fee refund on return policy' circ rule is set to 'Leave lost item charge'
3. Check something out and then mark it as lost.
4. Check the item in
=> No message to tell there was a refund

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm