]> git.koha-community.org Git - koha.git/commit
Bug 21796: Don't unlock checkouts if restriction exists but fines are below limit
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 1 Nov 2018 13:01:48 +0000 (13:01 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 30 Nov 2018 14:13:40 +0000 (14:13 +0000)
commit0cc87bd3fbc6599d04c942263a538fa0e5562553
tree5e98f1e4c3614723bb1029b1cae90da9a6e149ef
parentbc614e6f1af70b929ea42d6c85c32ebd03f8dd1b
Bug 21796: Don't unlock checkouts if restriction exists but fines are below limit

The checkout form will be removed if various conditions are
met: Restrictions, a fine above noissuescharge etc.

Bug 19933 changed the conditions, so a restriction will no longer
block checkouts, if the fines are below the set limit.

To test:

- Add a restriction
- Confirm the checkouts form is replaced by a message
- Add a fine below the noissuescharge limit
- Confirm that the form reappears
- Apply the patch
- Check that the checkout form is gone now
- Remove restriction - form should reappear
- Add to the fine, so it's above the limit
- Form should disappear

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 99013d6896fc591a7733568bcb7044cad399a7c5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
circ/circulation.pl