Bug 27599

Summary: Fine calculation at checkin should be able reflect return claims
Product: Koha Reporter: Andrew Fuerste-Henry <andrewfh>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 14697    
Bug Blocks:    

Description Andrew Fuerste-Henry 2021-02-02 17:12:01 UTC
Here's the existing behavior:
1- checkout item with date due in the past
2- run fines cron to create accruing fine
3- mark item claimed without charging lost fee
4- fines does not change at all when item is marked claimed
5- check item in
6- fine goes from accruing to final as if the claim had never happened

If we assume some time passes between step 3 and step 5, that could be a significant difference in the final fine total. Should patrons be charged overdue fines for the period between when an item is Claimed Returned and when it is actually checked in? Should that be configurable per library? Should it in some way depend on the claim resolution status?

If we *do* charge the lost fee when an item is marked claimed, then we close the fine at the point of claim and it is not changed if the item is later checked in.