diff --git a/api_shopfloor.asp b/api_shopfloor.asp index 82fded6..75b50e4 100644 --- a/api_shopfloor.asp +++ b/api_shopfloor.asp @@ -25,7 +25,7 @@ strSQL = "SELECT n.notificationid, n.notification, n.starttime, n.endtime, " & _ " ELSE 0 " & _ "END as is_resolved, " & _ "CASE " & _ - " WHEN n.starttime > NOW() AND n.starttime <= DATE_ADD(NOW(), INTERVAL 72 HOUR) THEN 1 " & _ + " WHEN n.starttime > NOW() AND n.starttime <= DATE_ADD(NOW(), INTERVAL 5 DAY) THEN 1 " & _ " ELSE 0 " & _ "END as is_upcoming, " & _ "TIMESTAMPDIFF(MINUTE, n.endtime, NOW()) as minutes_since_end " & _ diff --git a/shopfloor-dashboard/index.html b/shopfloor-dashboard/index.html index 9b6af95..5038d8a 100644 --- a/shopfloor-dashboard/index.html +++ b/shopfloor-dashboard/index.html @@ -885,7 +885,7 @@ } html += '
'; - html += '
UPCOMING (Next 72 Hours)
'; + html += '
UPCOMING (Next 5 Days)
'; html += '