LP#1880028 Backdate Checkins Until Logout Option
authorDan Briem <dbriem@wlsmail.org>
Sat, 30 May 2020 23:27:39 +0000 (19:27 -0400)
committerKyle Huckins <khuckins@catalyte.io>
Thu, 21 Jan 2021 20:38:27 +0000 (20:38 +0000)
commit22cfdd95d315f3ac7d541f399a838588ba2266a2
treec480f9d4aa29c50a05304413c6dae73456364734
parent5876373b9f2bc636171d31702cb44b7f34b90cfc
LP#1880028 Backdate Checkins Until Logout Option

- Adds a checkbox option to store the backdate as a
  session item and only loads the backdate on the checkin
  screen (backdate ignored on the hold capture screen)
- Adjusts existing $watch to enable/disable the checkbox
  and store/remove session backdate when appropriate
- Adjusts is_backdate() to not consider null or undefined
  dates as backdates so the visible alert is accurate
- Adjusts "today" comparison to use a time of 00:00:00 so
  that when the Clear button is used and clears the time
  the Today button won't cause a backdate just because it's
  an earlier time on the same date

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: rfrasur <rfrasur@library.in.gov>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Open-ILS/src/templates/staff/circ/checkin/t_checkin.tt2
Open-ILS/web/js/ui/default/staff/circ/checkin/app.js