Bug 26210

Summary: issue_id should be consistently set for Lost item handling
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: Fines and feesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 18501    
Bug Blocks: 14825    
Attachments: Bug 26210: Allow issue_id to be passed to add_credit

Description Martin Renvoize (ashimema) 2020-08-14 10:11:11 UTC
Currently, we do not record the corresponding issue when an Item is marked as lost whilst on loan to a user.  We also do not consistently follow that issue_id through should there be a subsequent refund when a lost item is found and refunded.
Comment 1 Martin Renvoize (ashimema) 2020-08-14 10:14:11 UTC
Correction.. chargelostitem does set issue_id.. it's only missing in the refund
Comment 2 Martin Renvoize (ashimema) 2020-08-14 16:29:10 UTC
Created attachment 108302 [details] [review]
Bug 26210: Allow issue_id to be passed to add_credit

This patch add the ability for Koha::Account->add_credit to accept an
issue_id parameter and record it to the accountlines.
Comment 3 Katrin Fischer 2023-09-22 19:42:02 UTC
(In reply to Martin Renvoize from comment #2)
> Created attachment 108302 [details] [review] [review]
> Bug 26210: Allow issue_id to be passed to add_credit
> 
> This patch add the ability for Koha::Account->add_credit to accept an
> issue_id parameter and record it to the accountlines.

Is this a lost patch?
Comment 4 Martin Renvoize (ashimema) 2023-09-22 21:50:09 UTC
Probably... Given 3 years have passed I can't remember anything about this too be honest.