LP#1851434 - Allow COPY_NOT_AVAILABLE.override during renewal
authorJosh Stompro <stompro@stompro.org>
Tue, 5 Nov 2019 21:31:21 +0000 (15:31 -0600)
committerBill Erickson <berickxx@gmail.com>
Wed, 22 Jan 2020 19:24:27 +0000 (14:24 -0500)
commit3cf1463445a94d3c06840040475cdc5208635e83
tree927125c367fe0fc7a14c7d3cddbe1a0b367f00e0
parent28d34c41f53038acd668b3894102d1d28db73e80
LP#1851434 - Allow COPY_NOT_AVAILABLE.override during renewal

Also addresses LP#1827901 - Allow PATRON_EXCEEDS_LONGOVERDUE_COUNT
override during checkout and renew.

Test Plan:
1. Check out an item to a patron.
2. Mark item lost by patron to change status to lost.
3. In web client, log in as user with COPY_NOT_AVAILABLE.override
4. Try to renew item for patron, see that it isn't allowed.

After fix:
1. Try to renew item for patron, see that the override is now allowed.

Also try checkouts and renews for patrons that have the PATRON_EXCEEDS_LONGOVERDUE_COUNT block.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js