This commit is contained in:
2021-11-15 18:39:01 +00:00
parent 4940d075ca
commit 1619f693dd

View File

@@ -568,6 +568,57 @@
</v-expansion-panel-content>
</v-expansion-panel>
<v-expansion-panel key="4">
<v-expansion-panel-header>
<span class="text-h6">
{{ $ay.t("CustomerAccessWorkOrderAttachments") }}
</span>
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-row>
<v-col cols="12" sm="6" lg="2">
<v-checkbox
v-model="obj.customerAllowWOAttachments"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="customerAllowWOAttachments"
data-cy="customerAllowWOAttachments"
:error-messages="
form().serverErrors(
this,
'customerAllowWOAttachments'
)
"
@change="
fieldValueChanged('customerAllowWOAttachments')
"
></v-checkbox>
</v-col>
<template v-if="obj.customerAllowWOAttachments">
<v-col cols="12" sm="6" lg="10">
<gz-tag-picker
v-model="obj.customerAllowWOAttachmentsInTags"
:readonly="formState.readOnly"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowWOAttachmentsInTags"
data-cy="customerAllowWOAttachmentsInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowWOAttachmentsInTags'
)
"
@input="
fieldValueChanged(
'customerAllowWOAttachmentsInTags'
)
"
></gz-tag-picker>
</v-col>
</template>
</v-row>
</v-expansion-panel-content>
</v-expansion-panel>
<v-expansion-panel key="5">
<v-expansion-panel-header>
<span class="text-h6">
{{ $ay.t("UserSettings") }}
@@ -611,7 +662,7 @@
</v-row>
</v-expansion-panel-content>
</v-expansion-panel>
<v-expansion-panel key="5">
<v-expansion-panel key="6">
<v-expansion-panel-header>
<span class="text-h6">
{{ $ay.t("NotifySubscriptionList") }}
@@ -1173,6 +1224,7 @@ async function fetchTranslatedText(vm) {
"GlobalLaborSchedUserDfltTimeSpan",
"GlobalTravelDfltTimeSpan",
"CustomerAccessWorkOrderWiki",
"CustomerAccessWorkOrderAttachments",
"NotifySubscriptionList",
"NotifyEventCustomerServiceImminent",
"NotifyEventCSRAccepted",