]> git.koha-community.org Git - koha.git/commit
Bug 15569: Do not displayed "automatic renewal" if the patron cannot checkout
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 13 Jan 2016 16:36:47 +0000 (16:36 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Mon, 25 Jan 2016 16:02:47 +0000 (17:02 +0100)
commit462ff7e012f2e6e2c25b6f1fd71ed134d32ac144
tree643abd89d3b7e981b3bdcf156e08f6478cd24dc1
parent42f8e34f81062116044fe34ff8e3ac544dd52fec
Bug 15569: Do not displayed "automatic renewal" if the patron cannot checkout

If the patron cannot checkout (debarred) and on-site checkout is
enabled, the "Automatic renewal" checkbox should not be displayed on the
circulation screen.

Test plan:
Enable OnSiteCheckouts and OnSiteCheckoutsForce
Debar a patron and go on the circulation page.
Without this patch, the automatic renewal checkbox is displayed.
With this patch applied, it's not.

Patch works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit ca6bd89b852f4561fdc4ff328d19d4a71d759b7f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 3a79e99b7093aa98b31313d8ea545557ca4277cd)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt