LP#1933381 Notify by SMS requires SMS fields when placing holds
authorDan Briem <dbriem@wlsmail.org>
Sat, 31 Jul 2021 02:34:26 +0000 (22:34 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 12 Aug 2021 21:51:55 +0000 (17:51 -0400)
commit473c278514efc710779c327fbc27b0967f79cde3
treedb07e773821faa0542323fe85515a7ff02ca2b42
parent87b63a169938982ea1b2df845c1c27bd80be073a
LP#1933381 Notify by SMS requires SMS fields when placing holds

When placing a hold, if the notification method is set to SMS
and no carrier is selected, the hold fails with a generic error.

This disables the Place Hold(s) button if notify by SMS is
selected and the SMS phone number or carrier fields are not set.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Erica Rohlfs <erica.rohlfs@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts