[Bug 38787] New: "Paid for?" message in item info lists patrons who did not pay for item
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 Bug ID: 38787 Summary: "Paid for?" message in item info lists patrons who did not pay for item Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Fines and fees Assignee: koha-bugs@lists.koha-community.org Reporter: andrew@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@ptfs-europe.com Depends on: 19919 To confirm: - have an item checked out - mark it lost, generating a fee on the patron account - check it in, generating a full refund on the patron account - mark the item lost again (it doesn't matter if it's checked out to another patron or not) - go to moredetail.pl, see your item shows "Paid for: [your patron]" Bug 19919 introduced logic to determine whether or not an item had previously been lost and then paid for. It will show the "Paid for" message and a patron's name and barcode if: - the item is currently lost - there is an accountlines entry linked to that item number with the following qualities: -- accountlines.debit_type_code = LOST -- accountlines.status != 'RETURNED' -- accountlines.amountoutstanding = 0 So, show this if the item has an associated charge that reached $0 via means other than a return. But when a lost item gets checked in we update that status to "FOUND" and anyway the debit for a lost item that gets paid off has a NULL status, so it won't be found by looking for status != "FOUND". Would it work to look for lines with debit_type_code='LOST', amoundoutstanding=0, and status IS NULL? I don't have a good enough handle on accountlines statuses to be sure. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19919 [Bug 19919] Writing off a Lost Item Fee marks as "Paid for by patron" -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- It seems to me like we should use the issue_id to link the accountlines and the issue, so there can be no mistake in who the patron in question was. As we have issue_id and old_issue_id on accountlines now, that would also be the saves approach for items that have already been returned. I think using the status won't work, as some libraries return lost items immediately when the status is set, but it doesn't tell you if the amount has been paid or not. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 Esther Melander <esther.melander@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |esther.melander@bywatersolu | |tions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 Esther Melander <esther.melander@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |klehman@faylib.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 --- Comment #2 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Backing up a step, under which circumstances are we looking to show a patron here? For a library that doesn't refund paid lost fees when an item is found, the current logic could lead to misleading info on the screen when an item is paid for, returned, and later lost again. The same would be true for libraries that retain the item record in Koha when replacing the physical item. It seems like what we're really aiming for here is to show a patron's name if they are the patron who caused and then paid for the item's *current* lost-ness. But Koha doesn't really have a conception of instances of lostness. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 hebah@bywatersolutions.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hebah@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38790 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38787 --- Comment #3 from Kathleen L. <klehman@faylib.org> --- Responding to Andrew's last comment, what you're describing is what I would expect that field to be: who lost and literally paid for the item which is still currently lost. If it gets returned, I would want/expect the "Paid for" field to go away. Hope that drop in the information bucket is somewhat helpful. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org