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:49:13 +0000 (17:49 -0400)
commitbcf335bd2ea8863eaa5f047a90e1b4963eedf66d
tree86c3b3a0744a88b705a16bc958f94b5083a05f36
parent26596f31bb979e77566fc4e6389026195e91b177
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