This commit is contained in:
@@ -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
|
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
|
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
|
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:
|
Steps to test notifications:
|
||||||
|
|||||||
@@ -65,7 +65,19 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
<v-col v-if="showDecValue" cols="12" sm="6" lg="4" xl="3">
|
<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-col v-if="showAgeValue" cols="12" sm="6" lg="4" xl="3">
|
<v-col v-if="showAgeValue" cols="12" sm="6" lg="4" xl="3">
|
||||||
@@ -740,7 +752,8 @@ async function fetchTranslatedText(vm) {
|
|||||||
"tags",
|
"tags",
|
||||||
"Duration",
|
"Duration",
|
||||||
"TaggedWith",
|
"TaggedWith",
|
||||||
"WorkOrderStatus"
|
"WorkOrderStatus",
|
||||||
|
"Total"
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user