LP#1929587 Place hold button in staff client user/dbriem/lp_1929587_place_hold_visible_no_holdable_copies
authorDan Briem <dbriem@wlsmail.org>
Thu, 3 Jun 2021 00:53:44 +0000 (20:53 -0400)
committerDan Briem <dbriem@wlsmail.org>
Thu, 3 Jun 2021 00:53:44 +0000 (20:53 -0400)
commit0b4b2259cbcf509743279c74b269412560d75863
tree3fd1292ac4f2e4802b83f34e2cbe79f36f5da347
parent9520212ba3edf6fe356bf8c88b81f345579086f4
LP#1929587 Place hold button in staff client

Disables and gray's out the place hold button on records in the
Angular catalog that are deleted or have no holdable copies
unless the user has the perm PLACE_UNFILLABLE_HOLD.

To test:
* Search for records with and without any copies
* Search for records with and without holdable copies
* Search as user with and without the permission
  PLACE_UNFILLABLE_HOLD

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Open-ILS/src/eg2/src/app/share/catalog/bib-record.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html
Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html
Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm