LP#1768947 Offline xact presence is cached; show date user/jeffdavis/lp1768947-offline-db-webworkers-signoff
authorBill Erickson <berickxx@gmail.com>
Fri, 22 Jun 2018 14:56:02 +0000 (10:56 -0400)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 29 Jun 2018 21:57:41 +0000 (14:57 -0700)
commit81f951f08ccd1ec97e183f655af00b5419cd9e0a
treec0d9d74cf07517512ee23c840ded1b7abd9b903b
parent484afe539c30e7398fe5c6e8f42bcc6221c6bac1
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>
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