https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43465 --- Comment #4 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Created attachment 212323 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212323&action=edit Bug 43465: Add a badge for patrons linked to SIP2 accounts This patch adds Koha::Patron->is_sip_account, which returns true when the patron's userid is used as the login_id of a SIP2 account, and uses it to show an up-down badge next to the patron's name in the staff interface, alongside the existing staff/superlibrarian/self-check badges. Test plan: 1. Go to Administration > SIP2 > Accounts and create (or edit) an account whose login is the userid of an existing patron 2. Open that patron in the staff interface (patron details or checkout) 3. Without the patch, there is no indication the patron is a SIP2 user 4. Apply the patch and reload 5. Note the new up-down icon next to the patron's name, with the hover text "SIP2 account patron" 6. View a patron not linked to a SIP2 account: no icon is shown 7. prove t/db_dependent/Koha/Patron.t Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Barbara Johnson <Barbara.Johnson@bedfordtx.gov> -- You are receiving this mail because: You are watching all bug changes.