From a0119ef380e5e6e65166627226184975dfae7015 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 5 Jan 2021 22:46:35 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 + ayanova/src/views/svc-loaner.vue | 283 +++++++++++++++++++++++-------- 2 files changed, 213 insertions(+), 72 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 4ec2efbb..2749f5ff 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,6 +5,8 @@ MISC ITEMS THAT CAME UP +todo: Active field is probably very seldom used, perhaps it should always be the last field in the forms? + todo: I keep thinking I should just move to LT keys for all datalist and formfield and picklist column definitions, drop the tkey and fieldkey type fields in favor of just one key that is the translation key But maybe I'd regret that later if I have a really complex object with multiple of the same field names? Maybe it's a complete non-issue and fuck it diff --git a/ayanova/src/views/svc-loaner.vue b/ayanova/src/views/svc-loaner.vue index 68b5d9c9..1cd3be1e 100644 --- a/ayanova/src/views/svc-loaner.vue +++ b/ayanova/src/views/svc-loaner.vue @@ -18,6 +18,24 @@ > + + + + - + :label="$ay.t('LoanUnitRateHalfDay')" + ref="rateHalfDay" + data-cy="rateHalfDay" + :rules="[ + form().decimalValid(this, 'rateHalfDay'), + form().required(this, 'rateHalfDay') + ]" + :error-messages="form().serverErrors(this, 'rateHalfDay')" + @input="fieldValueChanged('rateHalfDay')" + > + + + + + + + + + + + + + + + + + + + + +