]> git.koha-community.org Git - koha.git/commit
Bug 14470: Do not allow renew for on-site checkouts
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 4 Aug 2015 09:38:29 +0000 (10:38 +0100)
committerLiz Rea <wizzyrea@gmail.com>
Tue, 22 Sep 2015 22:40:00 +0000 (10:40 +1200)
commit1b686528f78d31afec8fe9a446e6851f6561bde8
tree014f12a98e4d1f9a61795a4e0e5ec03fd98f15ef
parent2968de1c4e5fe523f1ed23d219908df9d8dfe9a8
Bug 14470: Do not allow renew for on-site checkouts

At the opac, the renew checkbox should not be displayed if it's an
on-site checkout (same on the intranet).

On the way, this patch adds a specific message to the intranet if the
librarian try to renew an on-site checkout.
Indeed before this patch a renew was allowed if the barcode was scanned.

Test plan:
1/ Create an on-site checkout for a patron
2/ Confirm that the checkbox 'renew' is not displayed on the checkout
list tables
3/ At the OPAC, the renew should not be allowed (no checkbox)
4/ Try to check the item out to the same patron, confirm that you get a
specifig message to inform you the renew is not allowed for on-site
checkouts.

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Changed 'issue' to 'item' in the error message.
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit ea92a92f5384c3256de55b770d31342f796edc47)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Conflicts:
t/db_dependent/Circulation.t

(cherry picked from commit d1ce272dd2a5c75862db16d2b0682b0a9d654565)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
C4/Circulation.pm
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
t/db_dependent/Circulation.t