LP#1768947 Offline xact presence is cached; show date
authorBill Erickson <berickxx@gmail.com>
Fri, 22 Jun 2018 14:56:02 +0000 (10:56 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 8 Aug 2018 15:02:27 +0000 (11:02 -0400)
commitfbe48d508ba988b7b74481d7d00e89882c151cc3
treef22ae562e7fec0710ee7ab99de1a6e367b4bbf3c
parent80a47ec6fe8ef0ba20544626dbcbfecf1437e45f
LP#1768947 Offline xact presence is cached; show date

Maintain an entry to the object date cache table indicating the time of
the most recent offline transaction entry.  This data is used on the
login page to determine if offline transactions exist, so the staff
logging in can be notified.  We do this in lieu of checking the offline
transaction table, since that table only exists in the offline UI.

As a bonus, since we know the last transaction add time, display this
information in the login page offline xact alert panel.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/templates/staff/t_login.tt2
Open-ILS/web/js/ui/default/staff/offline-db-worker.js
Open-ILS/web/js/ui/default/staff/services/lovefield.js