Bug 14845 - Fines forgiven even when WhenLostForgiveFine is set to 'Don't Forgive'
Summary: Fines forgiven even when WhenLostForgiveFine is set to 'Don't Forgive'
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-17 14:30 UTC by Barton Chittenden
Modified: 2020-11-30 21:44 UTC (History)
3 users (show)

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 Barton Chittenden 2015-09-17 14:30:27 UTC
The library expects the following:

1) When item is lost, fines stop accruing, lost item fee is charged.
2) Patron returns item. Lost item fee is waived, but all of the fines that have acrued (up to the cost of the book) are *not* forgiven.

Fines system preferences are set as follows:

RefundLostItemFeeOnReturn 
   [refund] lost item fees charged to a borrower when the lost item is returned.

WhenLostChargeReplacementFee 
   [charge] the replacement price when a patron loses an item.

WhenLostForgiveFine 
   [Don't Forgive] the fines on an item when it is lost.

When a lost, the lost item fee is being charged.
On return, the lost item fee is being returned, but the fines *are* being fogiven -- we can see an accountlines entry with account type 'FFOR'.

To reproduce:

1) Set the system prefrences as above.
2) Check out an item. Allow it to accrue fines.
3) Mark the item as longoverdue (lost) -- replacement price should be charged.
4) Check the item in
   -- replacement price should be refunded, and is.
   -- fine should *not* be forgiven, but is.