Bug 28896

Summary: Checkin Slip doesn't work for anonymized checkouts
Product: Koha Reporter: Kyle M Hall (khall) <kyle>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: andrew, bwsdonna, emmi.takkinen, gmcharlt, holly, kyle.m.hall, rcoert, sam.sowanick, sbrown, trevor.diamond
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27772
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34210
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 12224, 27851    
Bug Blocks:    

Description Kyle M Hall (khall) 2021-08-25 11:00:27 UTC
The new CHECKINSLIP notice does not work on patrons whose checkouts are anonymized upon checkin. Instead it appears that the patron had no checkins at all!

This is due to how the feature gets the old issues. The printslip script takes the borrowernumber and a branchcode and searches the old_issues table which is then filtered by date.

I think for this to function for anonymized checkouts we need to pass the actual issue_id's as a list to the slip so they can be looked up directly and not inferred by borrowernumber, branchcode and date.
Comment 1 trevor.diamond 2025-02-14 15:53:23 UTC
Alternatively, having the ability to select specific checkins from the table at check and print a slip from there would work as well.
Comment 2 SamSowanick 2025-03-07 16:57:51 UTC
Hello,

I had a staff member come to me with this issue. After some troubleshooting I found this bug. It would be great if this could be resolved. I do not have any ideas on how, I am just here bump the ticket :).

Are there any current work arounds that exist with Custom Patron Slips that could get around the anonymization?

Thanks all!
Comment 3 trevor.diamond 2025-03-07 17:03:54 UTC
Would it work for you as a workaround to print the issueslip for the patron's record?  If that has the current date/time and shows all their holdings, then that at least serves to show the item is not on their record anymore.
Comment 4 SamSowanick 2025-03-07 17:07:09 UTC
I believe that is all staff is looking for with this. So, yes, I think it would.