LP#1851434 - Allow COPY_NOT_AVAILABLE.override during renewal user/stompro/lp1851434_copy_not_available_renew
authorJosh Stompro <stompro@stompro.org>
Tue, 5 Nov 2019 21:31:21 +0000 (15:31 -0600)
committerJosh Stompro <stompro@stompro.org>
Wed, 6 Nov 2019 14:48:57 +0000 (08:48 -0600)
commit8d59d2a5b47e205993c268a745e7fcfbc8cbb050
tree618c84b2c850c48cbeb6ddea6a93208690e46538
parent7f92a4d509d9a04e0fa2928122bd1106014d4421
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>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js