Bug 33153 - Bibliographic references disappear from the payment history if the item is deleted
Summary: Bibliographic references disappear from the payment history if the item is de...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-07 11:18 UTC by Mathieu Saby
Modified: 2024-06-21 15:56 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Saby 2023-03-07 11:18:02 UTC
When you create a payment for a user, if you specify the reference of an item, Koha keeps track of the item and the record in the payment history.

But if the item is deleted after the payment is done, this information disappears from payment history.
Comment 1 Mathieu Saby 2024-06-21 15:56:11 UTC
I see 2 ways to fix this behavior : 
- request the "deleted" tables
- when the payment is done, write the complete bibliographic reference of the document in a new field of accountlines table