Bug 29080 - Missing data trail for reduced fine
Summary: Missing data trail for reduced fine
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Fines and fees (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 23091
Blocks:
  Show dependency treegraph
 
Reported: 2021-09-22 16:40 UTC by Andrew Fuerste-Henry
Modified: 2021-09-22 16:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2021-09-22 16:40:23 UTC
To recreate:
- Set MarkLostItemsAsReturned to ON for all cases, WhenLostChargeReplacementFee ON, WhenLostForgiveFine ON
- Set you refund lost item value to refund lost fee and charge a new overdue fine
- set a circ rule to charge $1 per day overdues
- check out an item, setting its due date to 7 days ago
- run the fines cron, see your $7 accruing fine
- mark the item lost, confirm the $7 fine is forgiven
- check the item in, backdating the checkin to 5 days ago
- confirm your new fine is $2, but old_issues.returndate still shows the time at which this item was marked lost

In this situation, I can't find anything in the data to explain why the fine is $2. That's the correct amount, given the actions, but if one stumbled on this patron after the fact one would have a hard time figuring out what happened.