From 1ee05ce2849593d0191cb1413de308573cb12a4d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 28 Jul 2021 22:58:19 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 33 +---------------------------- ayanova/src/views/svc-pm.vue | 12 +++-------- ayanova/src/views/svc-quote.vue | 25 ++++++++-------------- ayanova/src/views/svc-workorder.vue | 12 +++++------ 4 files changed, 19 insertions(+), 63 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 011b8b07..4fd11d49 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -506,10 +506,8 @@ todo:2 many biz objects are not using new PUT methodology CURRENTLY DOING: PM stuff: - pmdatalist - front end - front end default data objects in quote and pm and properly set defaults for new record + front end default data objects in quote and properly set defaults for new record todo: add back NewStatus trans key it's used by status control report fields coming over properly back end biz job to actually do the generation @@ -526,35 +524,6 @@ CURRENTLY DOING: PM stuff: -//ADD KEY public bool[] ExcludeDaysOfWeek { get; set; }//Monday to Sunday (0-6 index) -//ADDpublic TimeSpan Repeat { get; set; }//was generate span -//ADDpublic TimeSpan GenerateBefore { get; set; }//was threshold span -// l.Add(new FormField { TKey = "PMStopGeneratingDate", FieldKey = "PMStopGeneratingDate" }); -// l.Add(new FormField { TKey = "ExcludeDaysOfWeek", FieldKey = "ExcludeDaysOfWeek" }); -// l.Add(new FormField { TKey = "PMNextServiceDate", FieldKey = "PMNextServiceDate" }); - "GenerateWorkOrder": "Generate Work order", - "GenerateQuote": "Generate Quote", - "GeneratePM":"Generate Preventive Maintenance", - "GenerateBefore":"Generate beforehand", - "RepeatInterval": "Repeat interval" - - /* - + "stopgeneratingdate TIMESTAMP, nextservicedate TIMESTAMP NOT NULL, generatedate TIMESTAMP, excludedaysofweek BOOL ARRAY NOT NULL, active BOOL NOT NULL, " - + "repeatunit INTEGER NOT NULL, generatebeforeunit INTEGER NOT NULL, repeatinterval INTEGER NOT NULL, generatebeforeinterval INTEGER NOT NULL, " - - - - * public DateTime NextServiceDate { get; set; } - public PMTimeUnit RepeatUnit { get; set; } - public PMTimeUnit GenerateBeforeUnit { get; set; } - public int RepeatInterval { get; set; } - public int GenerateBeforeInterval { get; set; } - * public DateTime? GenerateDate { get; set; }//Internal, not exposed to UI and is the date to do the next generate on that takes into account generatebefore and next service date and is calcd when first created and after that when generate happens for next time see pmbiz top with reference v7 code - - */ - - - PM TODO: case 3349 implement all possible grandchild collections in PM (same as quote) case 3344 wo to pm generator (was a case, didn't realize had thought of it already) diff --git a/ayanova/src/views/svc-pm.vue b/ayanova/src/views/svc-pm.vue index 5eaff884..8b301f24 100644 --- a/ayanova/src/views/svc-pm.vue +++ b/ayanova/src/views/svc-pm.vue @@ -42,7 +42,7 @@ - {{ $ay.t("GenerateWorkOrder") }} + {{ $ay.t("DuplicateToWorkOrder") }} - {{ $ay.t("GenerateWorkOrder") }} + {{ $ay.t("DuplicateToWorkOrder") }} - {{ $ay.t("GenerateQuote") }} + {{ $ay.t("DuplicateToQuote") }} - {{ $ay.t("GeneratePM") }} + {{ $ay.t("DuplicateToPM") }}