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>
Mon, 5 Jun 2023 18:36:09 +0000 (15:36 -0300)
commit14e4a3b5c7aabf816a6c21a0c318d6c4e3b1939a
tree4717796f62a377c81baae812e92574300c525258
parent7095ef2fa757cca641cd4236878cdec3bbaa8479
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>
Koha/Account.pm