]> git.koha-community.org Git - koha.git/commit
Bug 15091: Do not allow to use batch checkout if checkout is not allowed
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 5 Nov 2015 09:58:34 +0000 (09:58 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 19 Nov 2015 23:22:06 +0000 (20:22 -0300)
commit3ff0e13a7fde43438bb4e1d4e1ea19b8c3b7265f
tree09e593d6658b106e7abb28bcc37091d99ca87c6c
parenteea1d4043c9b8e2c6de774460bead0ac4d3d2f91
Bug 15091: Do not allow to use batch checkout if checkout is not allowed

If the noissue param is passed to the template, the batch checkout
should not be allowed.

This patch globally fixes the problem raised by bug 15091.
A generic message "cannot check out" is displayed and some more specific
ones could be added later.
For now it only trigger the "fine balance is over the limit" message.

Test plan:
Confirm there is no regression on the original behavior and that the
issue raised on bug 15091 is fixed.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt