This commit is contained in:
2021-06-14 19:16:03 +00:00
parent c602027bc4
commit 0b48831fbb
2 changed files with 16 additions and 2 deletions

View File

@@ -388,6 +388,7 @@ CURRENTLY DOING: Work order notifications -
The Andy - need a single function that totals a wokrorder using all the lintotalviz fields in all the children that have them in all the woitems
only check if someone subscribes
needs to be done in all the areas that can affect the total so make it a single call to make from any of them much like standard object notifiations
** Do not forget to document that this is triggered on Closed typ wo status only not just modifications etc
Steps to test notifications:

View File

@@ -65,7 +65,19 @@
</v-col>
<v-col v-if="showDecValue" cols="12" sm="6" lg="4" xl="3">
todo: decValue here for "The Andy"
<gz-decimal
v-model="obj.decValue"
:readonly="formState.readOnly"
:label="$ay.t('Total')"
ref="decValue"
data-cy="decValue"
:rules="[
form().decimalValid(this, 'decValue'),
form().required(this, 'decValue')
]"
:error-messages="form().serverErrors(this, 'decValue')"
@input="fieldValueChanged('decValue')"
></gz-decimal>
</v-col>
<v-col v-if="showAgeValue" cols="12" sm="6" lg="4" xl="3">
@@ -740,7 +752,8 @@ async function fetchTranslatedText(vm) {
"tags",
"Duration",
"TaggedWith",
"WorkOrderStatus"
"WorkOrderStatus",
"Total"
]);
}