diff --git a/webroot/includes/page-health-meds.tpl.html b/webroot/includes/page-health-meds.tpl.html index 0522229..41307ef 100644 --- a/webroot/includes/page-health-meds.tpl.html +++ b/webroot/includes/page-health-meds.tpl.html @@ -80,7 +80,7 @@
History
- +
@@ -125,7 +125,7 @@ Edit Direction -
@@ -260,7 +260,7 @@ Manage Medication Log -
@@ -439,7 +439,7 @@ accEl.setAttribute("data-weight", 50) important = !adlib icon.classList.add("trima-procedure-optimal") - } else if (data.dose_offset < -0.2 || dayjs().isAfter(dayjs(data.expected.time).add(1, "day"))) { + } else if (data.dose_offset < -0.2 || dayjs().isBefore(dayjs(data.expected.time).add(1, "day"))) { accEl.setAttribute("data-weight", (prn || adlib) ? 5 : 10) icon.classList.add("trima-procedure-ineligible") } else if (data.dose_offset < 0 || adlib || (prn && data.dose_offset == 0)) {
Action