LP#1783793 - Suspend holds when activation date set in web client angularjs user/mccanna/lp1783793_hold_date_edit_suspend_signoff
authorJosh Stompro <stompro@stompro.org>
Tue, 28 Jan 2020 16:04:02 +0000 (10:04 -0600)
committerTerran McCanna <tmccanna@georgialibraries.org>
Wed, 1 Apr 2020 20:09:54 +0000 (16:09 -0400)
commit3c41dd245ab8a5278139323642c9aacf9df39e5e
tree90a56c8044cbd586c2f9f8c7aa3b3115d32248a2
parent5f50e2f71f3261201f560fc4c9acc6c5a04a7a40
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>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/staff/circ/share/t_hold_dates.tt2
Open-ILS/web/js/ui/default/staff/circ/services/holds.js