From 426d50d5f7188e68240beed0422285f98de68c18 Mon Sep 17 00:00:00 2001 From: inportb Date: Sat, 24 Sep 2022 00:42:06 -0400 Subject: [PATCH] Refactor --- htdocs/RouteRecall.vue | 19 ++++--------------- htdocs/RouteSchedule.vue | 7 +------ htdocs/ViewSchedule.vue | 29 ++++++----------------------- htdocs/util.mjs | 17 +++++++++++++++++ 4 files changed, 28 insertions(+), 44 deletions(-) diff --git a/htdocs/RouteRecall.vue b/htdocs/RouteRecall.vue index 449027a..927db88 100644 --- a/htdocs/RouteRecall.vue +++ b/htdocs/RouteRecall.vue @@ -18,7 +18,7 @@ {{row.Name}} ${{row.key}} - {{row.Name}} ${{row.key}} + {{row.Name}} ${{row.key}} {{datefmt(row.TimeLast)}} {{dow[row.TimeLast.getDay()]}} {{row.Clinic}} {{Math.round(row.TimeLastDiff/86400000)}} @@ -32,7 +32,7 @@ {{row.Name}} ${{row.key}} - {{row.Name}} ${{row.key}} + {{row.Name}} ${{row.key}} {{datefmt(row.TimeNext)}} {{dow[row.TimeNext.getDay()]}} {{row.Clinic}} {{Math.round(row.TimeNextDiff/86400000)}} @@ -46,7 +46,7 @@ diff --git a/htdocs/ViewSchedule.vue b/htdocs/ViewSchedule.vue index b73f27b..9b1aa2d 100644 --- a/htdocs/ViewSchedule.vue +++ b/htdocs/ViewSchedule.vue @@ -8,7 +8,7 @@ {{row.ApptDate}} {{row.Clinic}} {{row.Name}} ${{row.HRN}} - {{row.Name}} ${{row.HRN}} + {{row.Name}} ${{row.HRN}} {{row.NOTE}} [{{row.APPT_MADE_BY}} on {{row.DATE_APPT_MADE}}] @@ -18,25 +18,10 @@