https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41109
Bug ID: 41109
Summary: Incorrect patron information when previously overdue
and lost book is returned after item is marked lost
when not checked out
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Fines and fees
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The issue is that when charging a new overdue fine, the previous fine is left
as 'OVERDUE' / 'LOST' which triggers a message of 'lost_charge' which pulls
the info for the latest patron to return the item. Even if the info doesn't
match a lost charge, we display it
To recreate:
1 - Set the Default lost item fee refund on return policy - to 'charge' (Refund
lost item charge and charge new overdue fee)
2 - Ensure circulation rule for item has fine amount and interval
3 - Set system preference WhenLostChargeReplacementFee to charge
4 - Checkout an item with a replacement fee set, backdating a month
5 - Have syspref DefaultLongOverdueChargeValue and DefaultLongOverdueLostValue
set to same value and DefaultLongOverdueDays to 10
6 - perl misc/cronjobs/fines.pl
7 - View patron account, confirm overdue charged
8 - perl misc/cronjobs/longoverdue.pl --confirm
9 - View patron account, confirm item lost and lost fine charged
10 - Checkin the item
11 - Check the patron's accountlines
SELECT * FROM accountlines WHERE borrowernumber=### AND
debit_type_code='OVERDUE'
12 - Note that there are two, the original with status 'LOST' and a new one
with status 'FOUND'
13 - Ensure syspref ShowAllCheckins is set to 'Show'
14 - Check out the item to another patron, and return it
15 - Mark the item lost
16 - Check it in again
17 - You see the name of the patron from step 14
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/