Bug 34910: Do not allow checkout for anonymous patron
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 26 Sep 2023 07:53:45 +0000 (21:53 -1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 Oct 2023 13:25:59 +0000 (10:25 -0300)
commitaca49ca14b9f2d009f469144f975cd9fbf098181
treea4313c3f9fbc1548fe54361d002dd23990a2095c
parent44aff60fa2f9169d50e85f95b9bd3a0b9a064120
Bug 34910: Do not allow checkout for anonymous patron

The anonymous patron circulation page should show an alert message and not allow check-out.

1) Configure an existing borrowernumber in system preference
   AnonymousPatron
2) Go to circulation page of this borrower :
   /cgi-bin/koha/circ/circulation.pl?borrowernumber=x
3) Check you see alert 'This is the anonymous patron, so circulation is disabled.'

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Johanna Miettunen <johanna.miettunen@haaga-helia.fi>
Signed-off-by: Päivi Knuutinen <paivi.knuutinen@joensuu.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt