LP#1851434 - Allow COPY_NOT_AVAILABLE.override during renewal user/mmorgan/lp1851434_allow_overrides_signoff
authorJosh Stompro <stompro@stompro.org>
Tue, 5 Nov 2019 21:31:21 +0000 (15:31 -0600)
committerMichele Morgan <mmorgan@noblenet.org>
Wed, 6 Nov 2019 21:11:27 +0000 (16:11 -0500)
commit41399534de8bb26e826fc0a19100c02e26a99af4
treea2aa30adaa92e4b150d06f3f054f4d16969e3107
parente0d52892b1aa320c7b4ff2c276b334dce59cc86c
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>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js