]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1783793 - Suspend holds when activation date set in web client angularjs
authorJosh Stompro <stompro@stompro.org>
Tue, 28 Jan 2020 16:04:02 +0000 (10:04 -0600)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 31 Jul 2020 22:09:29 +0000 (18:09 -0400)
commit95b9fb7f9f12bbfbb2246857ca5c6a5b04f016d0
treeb0eafb6dc00f0c5ff448b6051618838a56e3398e
parentffdf63e9f79d8ae85cf7dfd2a6d43b837f4f9ae6
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>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/share/t_hold_dates.tt2
Open-ILS/web/js/ui/default/staff/circ/services/holds.js