Bug 33789: Return issue info. when adding a credit
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 19 May 2023 22:09:16 +0000 (22:09 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 9 Jun 2023 14:22:13 +0000 (11:22 -0300)
commitcb7f3bbfdb77196bbbc153249a1c6fda9af95f3b
tree5638636a2ed63ced008c1136e06f4bfdf1b49f3f
parent05af370ec1ad367e30bd5b9c879d7b16e6a26846
Bug 33789: Return issue info. when adding a credit

To test:
1. Make sure MarkLostItemsAsReturned is set so a lost item will stay on a patrons account after being marked as lost.
2. Check an item out to a patron, make sure it has a replacementprice
3. Mark the item as lost.
4. Now check the item in.
5. Go to the patrons account -> transaction tab. You should see 2 accountlines related to the item.
6. For the account type 'Lost item' you will see issue infomation ( check out date, due date, checkouted out from, etc )
7. For the account type 'Lost item fee refund' there is no issue information.
8. Apply patch
9. Try 2 - 6 again. This time the 'Lost item fee refund' should include issue information.

Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 14e4a3b5c7aabf816a6c21a0c318d6c4e3b1939a)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Account.pm