This commit is contained in:
2021-11-13 01:47:19 +00:00
parent 9174172d14
commit 71cfa9b654

View File

@@ -408,227 +408,212 @@
</span> </span>
</v-expansion-panel-header> </v-expansion-panel-header>
<v-expansion-panel-content> <v-expansion-panel-content>
<v-col cols="12"> <v-row>
<div class="text-subtitle-1"> <v-col cols="12" sm="6" lg="3">
{{ $ay.t("NotifyEventCustomerServiceImminent") }} <v-checkbox
</div> v-model="obj.customerAllowNotifyServiceImminent"
</v-col> :readonly="formState.readOnly"
<v-col cols="12" sm="6" lg="4" xl="3"> :label="$ay.t('NotifyEventCustomerServiceImminent')"
<v-checkbox ref="customerAllowNotifyServiceImminent"
v-model="obj.customerAllowNotifyServiceImminent" data-cy="customerAllowNotifyServiceImminent"
:readonly="formState.readOnly" :error-messages="
:label="$ay.t('Active')" form().serverErrors(
ref="customerAllowNotifyServiceImminent" this,
data-cy="customerAllowNotifyServiceImminent" 'customerAllowNotifyServiceImminent'
:error-messages=" )
form().serverErrors( "
this, @change="
'customerAllowNotifyServiceImminent' fieldValueChanged(
) 'customerAllowNotifyServiceImminent'
" )
@change=" "
fieldValueChanged('customerAllowNotifyServiceImminent') ></v-checkbox>
" </v-col>
></v-checkbox> <v-col cols="12" sm="6" lg="9">
</v-col> <gz-tag-picker
<v-col cols="12" sm="6" lg="4"> v-model="obj.customerAllowNotifyServiceImminentInTags"
<gz-tag-picker :readonly="formState.readOnly"
v-model="obj.customerAllowNotifyServiceImminentInTags" :label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
:readonly="formState.readOnly" ref="customerAllowNotifyServiceImminentInTags"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')" data-cy="customerAllowNotifyServiceImminentInTags"
ref="customerAllowNotifyServiceImminentInTags" :error-messages="
data-cy="customerAllowNotifyServiceImminentInTags" form().serverErrors(
:error-messages=" this,
form().serverErrors( 'customerAllowNotifyServiceImminentInTags'
this, )
'customerAllowNotifyServiceImminentInTags' "
) @input="
" fieldValueChanged(
@input=" 'customerAllowNotifyServiceImminentInTags'
fieldValueChanged( )
'customerAllowNotifyServiceImminentInTags' "
) ></gz-tag-picker>
" </v-col>
></gz-tag-picker>
</v-col>
<!-- ######################################################## --> <!-- ######################################################## -->
<v-col cols="12">
<div class="text-subtitle-1">
{{ $ay.t("NotifyEventCSRAccepted") }}
</div>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.customerAllowNotifyCSRAccepted"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="customerAllowNotifyCSRAccepted"
data-cy="customerAllowNotifyCSRAccepted"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyCSRAccepted'
)
"
@change="
fieldValueChanged('customerAllowNotifyCSRAccepted')
"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyCSRAcceptedInTags"
:readonly="formState.readOnly"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyCSRAcceptedInTags"
data-cy="customerAllowNotifyCSRAcceptedInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyCSRAcceptedInTags'
)
"
@input="
fieldValueChanged(
'customerAllowNotifyCSRAcceptedInTags'
)
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## --> <v-col cols="12" sm="6" lg="3">
<v-col cols="12"> <v-checkbox
<div class="text-subtitle-1"> v-model="obj.customerAllowNotifyCSRAccepted"
{{ $ay.t("NotifyEventCSRRejected") }} :readonly="formState.readOnly"
</div> :label="$ay.t('NotifyEventCSRAccepted')"
</v-col> ref="customerAllowNotifyCSRAccepted"
<v-col cols="12" sm="6" lg="4" xl="3"> data-cy="customerAllowNotifyCSRAccepted"
<v-checkbox :error-messages="
v-model="obj.customerAllowNotifyCSRRejected" form().serverErrors(
:readonly="formState.readOnly" this,
:label="$ay.t('Active')" 'customerAllowNotifyCSRAccepted'
ref="customerAllowNotifyCSRRejected" )
data-cy="customerAllowNotifyCSRRejected" "
:error-messages=" @change="
form().serverErrors( fieldValueChanged('customerAllowNotifyCSRAccepted')
this, "
'customerAllowNotifyCSRRejected' ></v-checkbox>
) </v-col>
" <v-col cols="12" sm="6" lg="9">
@change=" <gz-tag-picker
fieldValueChanged('customerAllowNotifyCSRRejected') v-model="obj.customerAllowNotifyCSRAcceptedInTags"
" :readonly="formState.readOnly"
></v-checkbox> :label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
</v-col> ref="customerAllowNotifyCSRAcceptedInTags"
<v-col cols="12" sm="6" lg="4"> data-cy="customerAllowNotifyCSRAcceptedInTags"
<gz-tag-picker :error-messages="
v-model="obj.customerAllowNotifyCSRRejectedInTags" form().serverErrors(
:readonly="formState.readOnly" this,
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')" 'customerAllowNotifyCSRAcceptedInTags'
ref="customerAllowNotifyCSRRejectedInTags" )
data-cy="customerAllowNotifyCSRRejectedInTags" "
:error-messages=" @input="
form().serverErrors( fieldValueChanged(
this, 'customerAllowNotifyCSRAcceptedInTags'
'customerAllowNotifyCSRRejectedInTags' )
) "
" ></gz-tag-picker>
@input=" </v-col>
fieldValueChanged(
'customerAllowNotifyCSRRejectedInTags'
)
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## --> <!-- ######################################################## -->
<v-col cols="12">
<div class="text-subtitle-1">
{{ $ay.t("NotifyEventWorkorderCreatedForCustomer") }}
</div>
</v-col>
<v-col cols="12" sm="6" lg="4" xl="3">
<v-checkbox
v-model="obj.customerAllowNotifyWOCreated"
:readonly="formState.readOnly"
:label="$ay.t('Active')"
ref="customerAllowNotifyWOCreated"
data-cy="customerAllowNotifyWOCreated"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCreated'
)
"
@change="
fieldValueChanged('customerAllowNotifyWOCreated')
"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="4">
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCreatedInTags"
:readonly="formState.readOnly"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyWOCreatedInTags"
data-cy="customerAllowNotifyWOCreatedInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCreatedInTags'
)
"
@input="
fieldValueChanged('customerAllowNotifyWOCreatedInTags')
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## --> <v-col cols="12" sm="6" lg="3">
<v-col cols="12"> <v-checkbox
<div class="text-subtitle-1"> v-model="obj.customerAllowNotifyCSRRejected"
{{ $ay.t("NotifyEventWorkorderCompleted") }} :readonly="formState.readOnly"
</div> :label="$ay.t('NotifyEventCSRRejected')"
</v-col> ref="customerAllowNotifyCSRRejected"
<v-col cols="12" sm="6" lg="4" xl="3"> data-cy="customerAllowNotifyCSRRejected"
<v-checkbox :error-messages="
v-model="obj.customerAllowNotifyWOCompleted" form().serverErrors(
:readonly="formState.readOnly" this,
:label="$ay.t('Active')" 'customerAllowNotifyCSRRejected'
ref="customerAllowNotifyWOCompleted" )
data-cy="customerAllowNotifyWOCompleted" "
:error-messages=" @change="
form().serverErrors( fieldValueChanged('customerAllowNotifyCSRRejected')
this, "
'customerAllowNotifyWOCompleted' ></v-checkbox>
) </v-col>
" <v-col cols="12" sm="6" lg="9">
@change=" <gz-tag-picker
fieldValueChanged('customerAllowNotifyWOCompleted') v-model="obj.customerAllowNotifyCSRRejectedInTags"
" :readonly="formState.readOnly"
></v-checkbox> :label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
</v-col> ref="customerAllowNotifyCSRRejectedInTags"
<v-col cols="12" sm="6" lg="4"> data-cy="customerAllowNotifyCSRRejectedInTags"
<gz-tag-picker :error-messages="
v-model="obj.customerAllowNotifyWOCompletedInTags" form().serverErrors(
:readonly="formState.readOnly" this,
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')" 'customerAllowNotifyCSRRejectedInTags'
ref="customerAllowNotifyWOCompletedInTags" )
data-cy="customerAllowNotifyWOCompletedInTags" "
:error-messages=" @input="
form().serverErrors( fieldValueChanged(
this, 'customerAllowNotifyCSRRejectedInTags'
'customerAllowNotifyWOCompletedInTags' )
) "
" ></gz-tag-picker>
@input=" </v-col>
fieldValueChanged(
'customerAllowNotifyWOCompletedInTags' <!-- ######################################################## -->
)
" <v-col cols="12" sm="6" lg="3">
></gz-tag-picker> <v-checkbox
</v-col> v-model="obj.customerAllowNotifyWOCreated"
:readonly="formState.readOnly"
:label="$ay.t('NotifyEventWorkorderCreatedForCustomer')"
ref="customerAllowNotifyWOCreated"
data-cy="customerAllowNotifyWOCreated"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCreated'
)
"
@change="
fieldValueChanged('customerAllowNotifyWOCreated')
"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="9">
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCreatedInTags"
:readonly="formState.readOnly"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyWOCreatedInTags"
data-cy="customerAllowNotifyWOCreatedInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCreatedInTags'
)
"
@input="
fieldValueChanged(
'customerAllowNotifyWOCreatedInTags'
)
"
></gz-tag-picker>
</v-col>
<!-- ######################################################## -->
<v-col cols="12" sm="6" lg="3">
<v-checkbox
v-model="obj.customerAllowNotifyWOCompleted"
:readonly="formState.readOnly"
:label="$ay.t('NotifyEventWorkorderCompleted')"
ref="customerAllowNotifyWOCompleted"
data-cy="customerAllowNotifyWOCompleted"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCompleted'
)
"
@change="
fieldValueChanged('customerAllowNotifyWOCompleted')
"
></v-checkbox>
</v-col>
<v-col cols="12" sm="6" lg="9">
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCompletedInTags"
:readonly="formState.readOnly"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyWOCompletedInTags"
data-cy="customerAllowNotifyWOCompletedInTags"
:error-messages="
form().serverErrors(
this,
'customerAllowNotifyWOCompletedInTags'
)
"
@input="
fieldValueChanged(
'customerAllowNotifyWOCompletedInTags'
)
"
></gz-tag-picker>
</v-col>
</v-row>
</v-expansion-panel-content> </v-expansion-panel-content>
</v-expansion-panel> </v-expansion-panel>
</v-expansion-panels> </v-expansion-panels>