[Koha-bugs] [Bug 31060] Fine duplicates when returning item with accountline status marked as lost
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 7 16:05:18 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31060
Shi Yao Wang <shi-yao.wang at inLibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #136694|0 |1
is obsolete| |
--- Comment #3 from Shi Yao Wang <shi-yao.wang at inLibro.com> ---
Created attachment 137312
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137312&action=edit
Bug 31060: Fine duplicates when returning item with accountline status marked
as lost
Make unpaid accountline switch from 'LOST' to 'UNRETURNED' when unsetting lost
status from an item.
To test:
1- System preferences:
finesMode: Calculate and charge
CalculateFinesOnReturn: Do
WhenLostChargeReplacementFee: Don't charge
MarkLostItemsAsReturned: uncheck from the items tab of the catalog
module
2- Have a circulation rule with defined non-zero Fine amount and Fine charging
interval. (Will have to use the patron category and item type associated to
this circulation rule to test)
3- Checkout a document from the patron with backdated due date (backdated
enough depending on the Fine charging interval set)
4- Run ./misc/cronjobs/fines.pl
5- There should be a Fine(Accruing) in accounting tab of the patron
6- Go to the checked out item detail and set Lost status: Long overdue (Lost)
and click Set status
7- Now, Fine(Accruing) changed to Fine(Lost) in the accounting tab of the
patron
8- In item detail, set Lost status: Choose and click Set status
9- Notice Fine(Lost) did not switch back to Fine(Accruing) in the accounting
tab
10- Check in the item
11- Notice there is a duplicate fee Fine(Returned) and Fine(Lost) is still
there
12- Apply the patch
13- Write off all fines of the patron
14- Repeat step 3 to 10 and notice step 9 is not true anymore
15- Notice there is only Fine(Returned) and no duplicate
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list