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 @@ > + + + +