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>
Tue, 7 Aug 2018 15:54:59 +0000 (11:54 -0400)
commit31ceb17df3597929a89764ee66fa411af1a5d3dc
treebe13a7f322b7d60551b0d9278ab5fbb4ca8345cf
parent9e8c7d01fd5c036ae375cb25461eeeb26df274a6
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