LP#1783793 - Suspend holds when activation date set in web client angularjs user/stompro/lp1783793_hold_date_edit_suspend
authorJosh Stompro <stompro@stompro.org>
Tue, 28 Jan 2020 16:04:02 +0000 (10:04 -0600)
committerJosh Stompro <stompro@stompro.org>
Tue, 28 Jan 2020 16:04:02 +0000 (10:04 -0600)
commit239c280149aa352dc4756978ab977a858b730e04
treea4395b91d9aea3a41b6427be0f6cf67aaeb51e22
parent1711f0fe3fbb09f56e2f4befd13de076fc621bb3
LP#1783793 - Suspend holds when activation date set in web client angularjs

1. Modify Dates popup changed to not allow picking dates in the past for hold
  activation date both in the date picker, and if typed in manually.  If a
  date in the past is typed in, it is changed to today's date and an alert
  message is displayed.  The date picker just won't allow past days to be
  selected.  The alert message remains until a date in the future is selected.

2. Suspend holds when the activation date is set and saved.

3. Adds a note about the fact that the hold will be suspended when the hold
  activation date is selected for editing.  This makes the behavior clear so
  staff don't have to figure it out by trial and error.

4. Updates several sr-only (Screen Reader Only) labels in the holds date popup
  template that were set to the wrong values.  The file was copied from the hold
  notification popup and the screen reader descriptions were left unchanged from
  those values.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Open-ILS/src/templates/staff/circ/share/t_hold_dates.tt2
Open-ILS/web/js/ui/default/staff/circ/services/holds.js