LP#1933381 Notify by SMS requires SMS fields when placing holds user/dbriem/lp1933381_notify_sms_required_fields
authorDan Briem <dbriem@wlsmail.org>
Sat, 31 Jul 2021 02:34:26 +0000 (22:34 -0400)
committerDan Briem <dbriem@wlsmail.org>
Sat, 31 Jul 2021 02:34:26 +0000 (22:34 -0400)
commitb7c0420d9886c87c834df1bed70cf7a98f86475b
tree49534bd4cf062297f13ae4432439ece93d8657ef
parentd323b832290103bdd4e49ee225bcefb18a124d6d
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>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts