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:52:04 +0000 (17:52 -0400)
commit6546a52dd1316f9f133ebb418a41615b9ecb3acd
tree87e04f160a3f722d4cddd4420c0102279e720ded
parentebf8cbaa29dfb516aff6503ae10a335b380a318d
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