Bug 35612

Summary: Branchcode information for all customer fees lines
Product: Koha Reporter: Pirkko-Liisa Lauhikari <pirkko-liisa.lauhikari>
Component: Fines and feesAssignee: Laura Escamilla <Laura.escamilla>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, Laura.escamilla
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39802
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: 36506    
Bug Blocks:    

Description Pirkko-Liisa Lauhikari 2023-12-20 11:18:34 UTC
We would like to have branchcode recorded to the OVERDUE fees in accountlines table. Configurability is desired, so that it is possible to choose which library is recorded. Options could be customer's home library, issuing library and item's home library.
Comment 1 Pirkko-Liisa Lauhikari 2024-09-27 08:17:23 UTC
We hope also, that branchcode information for all customer fees lines.
Comment 2 Andrew Fuerste-Henry 2025-05-01 13:58:21 UTC
Agreed it would be helpful to consistently populate the branchcode for accountlines.

For overdues fines, I believe the branch used to calculate the fine is determined by the CircControl and HomeOrHoldingBranch system preferences. Accountlines should record the branch used to calculate the fine.

The longoverdue cron also follows CircControl but fails to record that branch in accountlines. It should do so.