From ccc4ee055231ccba0d160a0fdf5d72216ca03dd8 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 28 Jul 2021 22:00:49 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 ++++ ayanova/src/components/pm-header.vue | 24 +++++++++++++----------- ayanova/src/views/svc-pm.vue | 18 ++++++++++-------- ayanova/src/views/svc-quote.vue | 3 ++- ayanova/src/views/svc-workorder.vue | 3 ++- 5 files changed, 31 insertions(+), 21 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index f423817e..06e54893 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -569,6 +569,10 @@ PM TODO: PM and QUOTE BIZ - all the notifications are probably fucked as copied directly from wo fix and add their own special ones + "Generate work order" sounds like the PM automatic generation system, is this confusing? + need to disambiguate these things because the word generate is used for pm generation to wo + but what we are really doing is creating a work order from something or copy to new WorkOrder / Quote / PM? + New plan: a way to generate any form of order from any other even if indirectly: Generate WO from quote Generate quote from wo diff --git a/ayanova/src/components/pm-header.vue b/ayanova/src/components/pm-header.vue index 6747bff5..941a7215 100644 --- a/ayanova/src/components/pm-header.vue +++ b/ayanova/src/components/pm-header.vue @@ -57,17 +57,6 @@ - - - @@ -154,6 +143,7 @@ :readonly="formState.readOnly" ref="nextServiceDate" data-cy="nextServiceDate" + :rules="[form().required(this, 'nextServiceDate')]" :error-messages="form().serverErrors(this, 'nextServiceDate')" @input="fieldValueChanged('nextServiceDate')" > @@ -171,6 +161,18 @@ > + + + +