Bug 41899

Summary: Add branchcode in accountlines.branchcode for RESERVE_EXPIRED
Product: Koha Reporter: Anneli Österman <anneli.osterman>
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: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Anneli Österman 2026-02-20 11:03:37 UTC
We need to record the branchcode to the accountlines when the RESERVE_EXPIRED fee is added by the cancel_expired_holds.pl cron job. I think the suitable branchcode could be the hold's pickup library (reserves.branchcode).

This change would help to track to which library the fee belongs to (in library consortiums).