This commit is contained in:
2021-11-18 19:20:35 +00:00
parent 8e245b415d
commit f22e206b29

View File

@@ -509,352 +509,391 @@
" "
></gz-tag-picker> ></gz-tag-picker>
</v-col> </v-col>
<v-col cols="12"> <v-expansion-panels>
<span class="text-subtitle-1"> <v-expansion-panel key="a">
{{ $ay.t("CustomerAccessWorkOrderReport") }} <v-expansion-panel-header>
</span> <span class="text-subtitle-1">
</v-col> {{ $ay.t("CustomerAccessWorkOrderReport") }}
<v-col cols="12"> </span>
<gz-pick-list </v-expansion-panel-header>
:aya-type="ayaTypes().Report" <v-expansion-panel-content>
:variant="ayaTypes().WorkOrder.toString()" <v-row>
show-edit-icon <v-col cols="12">
v-model="obj.customerDefaultWorkOrderReportId" <gz-pick-list
:readonly="formState.readOnly" :aya-type="ayaTypes().Report"
:label="$ay.t('DefaultReport')" :variant="ayaTypes().WorkOrder.toString()"
ref="customerDefaultWorkOrderReportId" show-edit-icon
data-cy="customerDefaultWorkOrderReportId" v-model="obj.customerDefaultWorkOrderReportId"
:error-messages=" :readonly="formState.readOnly"
form().serverErrors( :label="$ay.t('DefaultReport')"
this, ref="customerDefaultWorkOrderReportId"
'customerDefaultWorkOrderReportId' data-cy="customerDefaultWorkOrderReportId"
) :error-messages="
" form().serverErrors(
@input=" this,
fieldValueChanged( 'customerDefaultWorkOrderReportId'
'customerDefaultWorkOrderReportId' )
) "
" @input="
></gz-pick-list> fieldValueChanged(
</v-col> 'customerDefaultWorkOrderReportId'
)
"
></gz-pick-list>
</v-col>
<!-- ------------ --> <!-- ------------ -->
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-tag-picker <gz-tag-picker
v-model="obj.customerWorkOrderReport1Tags" v-model="obj.customerWorkOrderReport1Tags"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('WorkOrderCustomerTaggedWith')" :label="$ay.t('WorkOrderCustomerTaggedWith')"
ref="customerWorkOrderReport1Tags" ref="customerWorkOrderReport1Tags"
data-cy="customerWorkOrderReport1Tags" data-cy="customerWorkOrderReport1Tags"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerWorkOrderReport1Tags' 'customerWorkOrderReport1Tags'
) )
" "
@input=" @input="
fieldValueChanged('customerWorkOrderReport1Tags') fieldValueChanged(
" 'customerWorkOrderReport1Tags'
></gz-tag-picker> )
</v-col> "
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-pick-list <gz-pick-list
:aya-type="ayaTypes().Report" :aya-type="ayaTypes().Report"
:variant="ayaTypes().WorkOrder.toString()" :variant="ayaTypes().WorkOrder.toString()"
show-edit-icon show-edit-icon
v-model="obj.customerTagWorkOrderReport1Id" v-model="obj.customerTagWorkOrderReport1Id"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('DefaultReport')" :label="$ay.t('DefaultReport')"
ref="customerTagWorkOrderReport1Id" ref="customerTagWorkOrderReport1Id"
data-cy="customerTagWorkOrderReport1Id" data-cy="customerTagWorkOrderReport1Id"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerTagWorkOrderReport1Id' 'customerTagWorkOrderReport1Id'
) )
" "
@input=" @input="
fieldValueChanged('customerTagWorkOrderReport1Id') fieldValueChanged(
" 'customerTagWorkOrderReport1Id'
></gz-pick-list> )
</v-col> "
></gz-pick-list>
</v-col>
<!-- ------------ --> <!-- ------------ -->
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-tag-picker <gz-tag-picker
v-model="obj.customerWorkOrderReport2Tags" v-model="obj.customerWorkOrderReport2Tags"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('WorkOrderCustomerTaggedWith')" :label="$ay.t('WorkOrderCustomerTaggedWith')"
ref="customerWorkOrderReport2Tags" ref="customerWorkOrderReport2Tags"
data-cy="customerWorkOrderReport2Tags" data-cy="customerWorkOrderReport2Tags"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerWorkOrderReport2Tags' 'customerWorkOrderReport2Tags'
) )
" "
@input=" @input="
fieldValueChanged('customerWorkOrderReport2Tags') fieldValueChanged(
" 'customerWorkOrderReport2Tags'
></gz-tag-picker> )
</v-col> "
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-pick-list <gz-pick-list
:aya-type="ayaTypes().Report" :aya-type="ayaTypes().Report"
:variant="ayaTypes().WorkOrder.toString()" :variant="ayaTypes().WorkOrder.toString()"
show-edit-icon show-edit-icon
v-model="obj.customerTagWorkOrderReport2Id" v-model="obj.customerTagWorkOrderReport2Id"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('DefaultReport')" :label="$ay.t('DefaultReport')"
ref="customerTagWorkOrderReport2Id" ref="customerTagWorkOrderReport2Id"
data-cy="customerTagWorkOrderReport2Id" data-cy="customerTagWorkOrderReport2Id"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerTagWorkOrderReport2Id' 'customerTagWorkOrderReport2Id'
) )
" "
@input=" @input="
fieldValueChanged('customerTagWorkOrderReport2Id') fieldValueChanged(
" 'customerTagWorkOrderReport2Id'
></gz-pick-list> )
</v-col> "
></gz-pick-list>
</v-col>
<!-- ------------ --> <!-- ------------ -->
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-tag-picker <gz-tag-picker
v-model="obj.customerWorkOrderReport3Tags" v-model="obj.customerWorkOrderReport3Tags"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('WorkOrderCustomerTaggedWith')" :label="$ay.t('WorkOrderCustomerTaggedWith')"
ref="customerWorkOrderReport3Tags" ref="customerWorkOrderReport3Tags"
data-cy="customerWorkOrderReport3Tags" data-cy="customerWorkOrderReport3Tags"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerWorkOrderReport3Tags' 'customerWorkOrderReport3Tags'
) )
" "
@input=" @input="
fieldValueChanged('customerWorkOrderReport3Tags') fieldValueChanged(
" 'customerWorkOrderReport3Tags'
></gz-tag-picker> )
</v-col> "
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-pick-list <gz-pick-list
:aya-type="ayaTypes().Report" :aya-type="ayaTypes().Report"
:variant="ayaTypes().WorkOrder.toString()" :variant="ayaTypes().WorkOrder.toString()"
show-edit-icon show-edit-icon
v-model="obj.customerTagWorkOrderReport3Id" v-model="obj.customerTagWorkOrderReport3Id"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('DefaultReport')" :label="$ay.t('DefaultReport')"
ref="customerTagWorkOrderReport3Id" ref="customerTagWorkOrderReport3Id"
data-cy="customerTagWorkOrderReport3Id" data-cy="customerTagWorkOrderReport3Id"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerTagWorkOrderReport3Id' 'customerTagWorkOrderReport3Id'
) )
" "
@input=" @input="
fieldValueChanged('customerTagWorkOrderReport3Id') fieldValueChanged(
" 'customerTagWorkOrderReport3Id'
></gz-pick-list> )
</v-col> "
></gz-pick-list>
</v-col>
<!-- ------------ --> <!-- ------------ -->
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-tag-picker <gz-tag-picker
v-model="obj.customerWorkOrderReport4Tags" v-model="obj.customerWorkOrderReport4Tags"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('WorkOrderCustomerTaggedWith')" :label="$ay.t('WorkOrderCustomerTaggedWith')"
ref="customerWorkOrderReport4Tags" ref="customerWorkOrderReport4Tags"
data-cy="customerWorkOrderReport4Tags" data-cy="customerWorkOrderReport4Tags"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerWorkOrderReport4Tags' 'customerWorkOrderReport4Tags'
) )
" "
@input=" @input="
fieldValueChanged('customerWorkOrderReport4Tags') fieldValueChanged(
" 'customerWorkOrderReport4Tags'
></gz-tag-picker> )
</v-col> "
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-pick-list <gz-pick-list
:aya-type="ayaTypes().Report" :aya-type="ayaTypes().Report"
:variant="ayaTypes().WorkOrder.toString()" :variant="ayaTypes().WorkOrder.toString()"
show-edit-icon show-edit-icon
v-model="obj.customerTagWorkOrderReport4Id" v-model="obj.customerTagWorkOrderReport4Id"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('DefaultReport')" :label="$ay.t('DefaultReport')"
ref="customerTagWorkOrderReport4Id" ref="customerTagWorkOrderReport4Id"
data-cy="customerTagWorkOrderReport4Id" data-cy="customerTagWorkOrderReport4Id"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerTagWorkOrderReport4Id' 'customerTagWorkOrderReport4Id'
) )
" "
@input=" @input="
fieldValueChanged('customerTagWorkOrderReport4Id') fieldValueChanged(
" 'customerTagWorkOrderReport4Id'
></gz-pick-list> )
</v-col> "
></gz-pick-list>
</v-col>
<!-- ------------ --> <!-- ------------ -->
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-tag-picker <gz-tag-picker
v-model="obj.customerWorkOrderReport5Tags" v-model="obj.customerWorkOrderReport5Tags"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('WorkOrderCustomerTaggedWith')" :label="$ay.t('WorkOrderCustomerTaggedWith')"
ref="customerWorkOrderReport5Tags" ref="customerWorkOrderReport5Tags"
data-cy="customerWorkOrderReport5Tags" data-cy="customerWorkOrderReport5Tags"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerWorkOrderReport5Tags' 'customerWorkOrderReport5Tags'
) )
" "
@input=" @input="
fieldValueChanged('customerWorkOrderReport5Tags') fieldValueChanged(
" 'customerWorkOrderReport5Tags'
></gz-tag-picker> )
</v-col> "
></gz-tag-picker>
</v-col>
<v-col cols="12" sm="6"> <v-col cols="12" sm="6">
<gz-pick-list <gz-pick-list
:aya-type="ayaTypes().Report" :aya-type="ayaTypes().Report"
:variant="ayaTypes().WorkOrder.toString()" :variant="ayaTypes().WorkOrder.toString()"
show-edit-icon show-edit-icon
v-model="obj.customerTagWorkOrderReport5Id" v-model="obj.customerTagWorkOrderReport5Id"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:label="$ay.t('DefaultReport')" :label="$ay.t('DefaultReport')"
ref="customerTagWorkOrderReport5Id" ref="customerTagWorkOrderReport5Id"
data-cy="customerTagWorkOrderReport5Id" data-cy="customerTagWorkOrderReport5Id"
:error-messages=" :error-messages="
form().serverErrors( form().serverErrors(
this, this,
'customerTagWorkOrderReport5Id' 'customerTagWorkOrderReport5Id'
) )
" "
@input=" @input="
fieldValueChanged('customerTagWorkOrderReport5Id') fieldValueChanged(
" 'customerTagWorkOrderReport5Id'
></gz-pick-list> )
</v-col> "
></gz-pick-list>
</v-col>
</v-row>
</v-expansion-panel-content>
</v-expansion-panel>
<v-expansion-panel key="b">
<v-expansion-panel-header>
<span class="text-subtitle-1">
{{ $ay.t("CustomerAccessWorkOrderWiki") }}
</span>
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-row>
<v-col cols="12" sm="6" lg="2">
<v-checkbox
v-model="obj.customerAllowWOWiki"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="customerAllowWOWiki"
data-cy="customerAllowWOWiki"
:error-messages="
form().serverErrors(
this,
'customerAllowWOWiki'
)
"
@change="
fieldValueChanged('customerAllowWOWiki')
"
></v-checkbox>
</v-col>
<template v-if="obj.customerAllowWOWiki">
<v-col cols="12" sm="6" lg="10">
<gz-tag-picker
v-model="obj.customerAllowWOWikiInTags"
:readonly="formState.readOnly"
:label="
$ay.t(
'WorkOrderContactCustomerHeadOfficeTaggedWith'
)
"
ref="customerAllowWOWikiInTags"
data-cy="customerAllowWOWikiInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowWOWikiInTags'
)
"
@input="
fieldValueChanged(
'customerAllowWOWikiInTags'
)
"
></gz-tag-picker>
</v-col>
</template>
</v-row>
</v-expansion-panel-content>
</v-expansion-panel>
<v-expansion-panel key="c">
<v-expansion-panel-header>
<span class="text-subtitle-1">
{{ $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(
'WorkOrderContactCustomerHeadOfficeTaggedWith'
)
"
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-panels>
</template> </template>
</v-row> </v-row>
</v-expansion-panel-content> </v-expansion-panel-content>
</v-expansion-panel> </v-expansion-panel>
<v-expansion-panel key="3"> <v-expansion-panel key="3">
<v-expansion-panel-header>
<span class="text-h6">
{{ $ay.t("CustomerAccessWorkOrderWiki") }}
</span>
</v-expansion-panel-header>
<v-expansion-panel-content>
<v-row>
<v-col cols="12" sm="6" lg="2">
<v-checkbox
v-model="obj.customerAllowWOWiki"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="customerAllowWOWiki"
data-cy="customerAllowWOWiki"
:error-messages="
form().serverErrors(this, 'customerAllowWOWiki')
"
@change="fieldValueChanged('customerAllowWOWiki')"
></v-checkbox>
</v-col>
<template v-if="obj.customerAllowWOWiki">
<v-col cols="12" sm="6" lg="10">
<gz-tag-picker
v-model="obj.customerAllowWOWikiInTags"
:readonly="formState.readOnly"
:label="
$ay.t(
'WorkOrderContactCustomerHeadOfficeTaggedWith'
)
"
ref="customerAllowWOWikiInTags"
data-cy="customerAllowWOWikiInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowWOWikiInTags'
)
"
@input="
fieldValueChanged('customerAllowWOWikiInTags')
"
></gz-tag-picker>
</v-col>
</template>
</v-row>
</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(
'WorkOrderContactCustomerHeadOfficeTaggedWith'
)
"
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> <v-expansion-panel-header>
<span class="text-h6"> <span class="text-h6">
{{ $ay.t("UserSettings") }} {{ $ay.t("UserSettings") }}
@@ -898,7 +937,7 @@
</v-row> </v-row>
</v-expansion-panel-content> </v-expansion-panel-content>
</v-expansion-panel> </v-expansion-panel>
<v-expansion-panel key="6"> <v-expansion-panel key="4">
<v-expansion-panel-header> <v-expansion-panel-header>
<span class="text-h6"> <span class="text-h6">
{{ $ay.t("NotifySubscriptionList") }} {{ $ay.t("NotifySubscriptionList") }}