Bug 39049

Summary: Do not allow on-site checkout for anonymous patron
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 34910    
Bug Blocks:    

Description Fridolin Somers 2025-02-06 11:28:02 UTC
Bug 34910 blocks anonymous patron for checkouts.
But in case on-site checkouts is forced it appears.
Depends on system preferences OnSiteCheckouts and OnSiteCheckoutsForce

Looks like the logic is in template, in my opinion we should move it to perl.
Maybe create a new var can_issue with values "yes" "no" "on-site-forced", it would replace "noissues" (used in double-negative UNLESS noissues).