This commit is contained in:
@@ -201,346 +201,438 @@
|
|||||||
{{ $ay.t("CustomerAccessSettings") }}
|
{{ $ay.t("CustomerAccessSettings") }}
|
||||||
</div>
|
</div>
|
||||||
</v-col>
|
</v-col>
|
||||||
<!-- ######################################################## -->
|
|
||||||
<v-col cols="12">
|
|
||||||
<div class="text-subtitle-1">
|
|
||||||
{{ $ay.t("CustomerServiceRequestList") }}
|
|
||||||
</div>
|
|
||||||
</v-col>
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
|
||||||
<v-checkbox
|
|
||||||
v-model="obj.customerAllowCSR"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('Active')"
|
|
||||||
ref="customerAllowCSR"
|
|
||||||
data-cy="customerAllowCSR"
|
|
||||||
:error-messages="form().serverErrors(this, 'customerAllowCSR')"
|
|
||||||
@change="fieldValueChanged('customerAllowCSR')"
|
|
||||||
></v-checkbox>
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<v-col cols="12" sm="6" lg="4">
|
|
||||||
<gz-tag-picker
|
|
||||||
v-model="obj.customerAllowCSRInTags"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
|
||||||
ref="customerAllowCSRInTags"
|
|
||||||
data-cy="customerAllowCSRInTags"
|
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerAllowCSRInTags')
|
|
||||||
"
|
|
||||||
@input="fieldValueChanged('customerAllowCSRInTags')"
|
|
||||||
></gz-tag-picker>
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<v-col cols="12">
|
|
||||||
<v-textarea
|
|
||||||
v-model="obj.customerServiceRequestInfoText"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('CSRInfoText')"
|
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerServiceRequestInfoText')
|
|
||||||
"
|
|
||||||
ref="customerServiceRequestInfoText"
|
|
||||||
data-cy="customerServiceRequestInfoText"
|
|
||||||
@input="fieldValueChanged('customerServiceRequestInfoText')"
|
|
||||||
auto-grow
|
|
||||||
></v-textarea>
|
|
||||||
</v-col>
|
|
||||||
<!-- ######################################################## -->
|
|
||||||
<v-col cols="12">
|
|
||||||
<div class="text-subtitle-1">
|
|
||||||
{{ $ay.t("WorkOrderList") }}
|
|
||||||
</div>
|
|
||||||
</v-col>
|
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
|
||||||
<v-checkbox
|
|
||||||
v-model="obj.customerAllowViewWO"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('Active')"
|
|
||||||
ref="customerAllowViewWO"
|
|
||||||
data-cy="customerAllowViewWO"
|
|
||||||
:error-messages="form().serverErrors(this, 'customerAllowViewWO')"
|
|
||||||
@change="fieldValueChanged('customerAllowViewWO')"
|
|
||||||
></v-checkbox>
|
|
||||||
</v-col>
|
|
||||||
<v-col cols="12" sm="6" lg="4">
|
|
||||||
<gz-tag-picker
|
|
||||||
v-model="obj.customerAllowViewWOInTags"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
|
||||||
ref="customerAllowViewWOInTags"
|
|
||||||
data-cy="customerAllowViewWOInTags"
|
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerAllowViewWOInTags')
|
|
||||||
"
|
|
||||||
@input="fieldValueChanged('customerAllowViewWOInTags')"
|
|
||||||
></gz-tag-picker>
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<v-col cols="12">
|
|
||||||
<gz-pick-list
|
|
||||||
:aya-type="ayaTypes().Report"
|
|
||||||
:variant="ayaTypes().WorkOrder.toString()"
|
|
||||||
show-edit-icon
|
|
||||||
v-model="obj.customerDefaultWorkOrderReportId"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('CustomerAccessWorkOrderReport')"
|
|
||||||
ref="customerDefaultWorkOrderReportId"
|
|
||||||
data-cy="customerDefaultWorkOrderReportId"
|
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerDefaultWorkOrderReportId')
|
|
||||||
"
|
|
||||||
@input="fieldValueChanged('customerDefaultWorkOrderReportId')"
|
|
||||||
></gz-pick-list>
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<!-- ######################################################## -->
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<div class="text-subtitle-1">
|
<v-expansion-panels>
|
||||||
{{ $ay.t("CustomerAccessWorkOrderWiki") }}
|
<v-expansion-panel key="1">
|
||||||
</div>
|
<v-expansion-panel-header>
|
||||||
</v-col>
|
<span class="text-h6">
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
{{ $ay.t("CustomerServiceRequestList") }}
|
||||||
<v-checkbox
|
</span>
|
||||||
v-model="obj.customerAllowWOWiki"
|
</v-expansion-panel-header>
|
||||||
:readonly="formState.readOnly"
|
<v-expansion-panel-content>
|
||||||
:label="$ay.t('Active')"
|
<v-row>
|
||||||
ref="customerAllowWOWiki"
|
<v-col cols="12" sm="6" lg="2">
|
||||||
data-cy="customerAllowWOWiki"
|
<v-checkbox
|
||||||
:error-messages="form().serverErrors(this, 'customerAllowWOWiki')"
|
v-model="obj.customerAllowCSR"
|
||||||
@change="fieldValueChanged('customerAllowWOWiki')"
|
:readonly="formState.readOnly"
|
||||||
></v-checkbox>
|
:label="$ay.t('Active')"
|
||||||
</v-col>
|
ref="customerAllowCSR"
|
||||||
<v-col cols="12" sm="6" lg="4">
|
data-cy="customerAllowCSR"
|
||||||
<gz-tag-picker
|
:error-messages="
|
||||||
v-model="obj.customerAllowWOWikiInTags"
|
form().serverErrors(this, 'customerAllowCSR')
|
||||||
:readonly="formState.readOnly"
|
"
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
@change="fieldValueChanged('customerAllowCSR')"
|
||||||
ref="customerAllowWOWikiInTags"
|
></v-checkbox>
|
||||||
data-cy="customerAllowWOWikiInTags"
|
</v-col>
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerAllowWOWikiInTags')
|
|
||||||
"
|
|
||||||
@input="fieldValueChanged('customerAllowWOWikiInTags')"
|
|
||||||
></gz-tag-picker>
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<v-col cols="12" sm="6" lg="10">
|
||||||
<v-col cols="12">
|
<gz-tag-picker
|
||||||
<div class="text-subtitle-1">
|
v-model="obj.customerAllowCSRInTags"
|
||||||
{{ $ay.t("UserSettings") }}
|
:readonly="formState.readOnly"
|
||||||
</div>
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
</v-col>
|
ref="customerAllowCSRInTags"
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
data-cy="customerAllowCSRInTags"
|
||||||
<v-checkbox
|
:error-messages="
|
||||||
v-model="obj.customerAllowUserSettings"
|
form().serverErrors(this, 'customerAllowCSRInTags')
|
||||||
:readonly="formState.readOnly"
|
"
|
||||||
:label="$ay.t('Active')"
|
@input="fieldValueChanged('customerAllowCSRInTags')"
|
||||||
ref="customerAllowUserSettings"
|
></gz-tag-picker>
|
||||||
data-cy="customerAllowUserSettings"
|
</v-col>
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerAllowUserSettings')
|
|
||||||
"
|
|
||||||
@change="fieldValueChanged('customerAllowUserSettings')"
|
|
||||||
></v-checkbox>
|
|
||||||
</v-col>
|
|
||||||
<v-col cols="12" sm="6" lg="4">
|
|
||||||
<gz-tag-picker
|
|
||||||
v-model="obj.customerAllowUserSettingsInTags"
|
|
||||||
:readonly="formState.readOnly"
|
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
|
||||||
ref="customerAllowUserSettingsInTags"
|
|
||||||
data-cy="customerAllowUserSettingsInTags"
|
|
||||||
:error-messages="
|
|
||||||
form().serverErrors(this, 'customerAllowUserSettingsInTags')
|
|
||||||
"
|
|
||||||
@input="fieldValueChanged('customerAllowUserSettingsInTags')"
|
|
||||||
></gz-tag-picker>
|
|
||||||
</v-col>
|
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<v-col cols="12">
|
||||||
<v-col cols="12">
|
<v-textarea
|
||||||
<div class="text-h6 mb-8">
|
v-model="obj.customerServiceRequestInfoText"
|
||||||
{{ $ay.t("NotifySubscriptionList") }}
|
:readonly="formState.readOnly"
|
||||||
</div>
|
:label="$ay.t('CSRInfoText')"
|
||||||
<div class="text-subtitle-1">
|
:error-messages="
|
||||||
{{ $ay.t("NotifyEventCustomerServiceImminent") }}
|
form().serverErrors(
|
||||||
</div>
|
this,
|
||||||
</v-col>
|
'customerServiceRequestInfoText'
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
)
|
||||||
<v-checkbox
|
"
|
||||||
v-model="obj.customerAllowNotifyServiceImminent"
|
ref="customerServiceRequestInfoText"
|
||||||
:readonly="formState.readOnly"
|
data-cy="customerServiceRequestInfoText"
|
||||||
:label="$ay.t('Active')"
|
@input="
|
||||||
ref="customerAllowNotifyServiceImminent"
|
fieldValueChanged('customerServiceRequestInfoText')
|
||||||
data-cy="customerAllowNotifyServiceImminent"
|
"
|
||||||
:error-messages="
|
auto-grow
|
||||||
form().serverErrors(this, 'customerAllowNotifyServiceImminent')
|
></v-textarea>
|
||||||
"
|
</v-col>
|
||||||
@change="fieldValueChanged('customerAllowNotifyServiceImminent')"
|
</v-row>
|
||||||
></v-checkbox>
|
</v-expansion-panel-content>
|
||||||
</v-col>
|
</v-expansion-panel>
|
||||||
<v-col cols="12" sm="6" lg="4">
|
<v-expansion-panel key="2">
|
||||||
<gz-tag-picker
|
<v-expansion-panel-header>
|
||||||
v-model="obj.customerAllowNotifyServiceImminentInTags"
|
<span class="text-h6">
|
||||||
:readonly="formState.readOnly"
|
{{ $ay.t("WorkOrderList") }}
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
</span>
|
||||||
ref="customerAllowNotifyServiceImminentInTags"
|
</v-expansion-panel-header>
|
||||||
data-cy="customerAllowNotifyServiceImminentInTags"
|
<v-expansion-panel-content>
|
||||||
:error-messages="
|
<v-row>
|
||||||
form().serverErrors(
|
<v-col cols="12" sm="6" lg="2">
|
||||||
this,
|
<v-checkbox
|
||||||
'customerAllowNotifyServiceImminentInTags'
|
v-model="obj.customerAllowViewWO"
|
||||||
)
|
:readonly="formState.readOnly"
|
||||||
"
|
:label="$ay.t('Active')"
|
||||||
@input="
|
ref="customerAllowViewWO"
|
||||||
fieldValueChanged('customerAllowNotifyServiceImminentInTags')
|
data-cy="customerAllowViewWO"
|
||||||
"
|
:error-messages="
|
||||||
></gz-tag-picker>
|
form().serverErrors(this, 'customerAllowViewWO')
|
||||||
</v-col>
|
"
|
||||||
|
@change="fieldValueChanged('customerAllowViewWO')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="5">
|
||||||
|
<gz-tag-picker
|
||||||
|
v-model="obj.customerAllowViewWOInTags"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
|
ref="customerAllowViewWOInTags"
|
||||||
|
data-cy="customerAllowViewWOInTags"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'customerAllowViewWOInTags')
|
||||||
|
"
|
||||||
|
@input="fieldValueChanged('customerAllowViewWOInTags')"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<v-col cols="12" sm="6" lg="5">
|
||||||
<v-col cols="12">
|
<gz-pick-list
|
||||||
<div class="text-subtitle-1">
|
:aya-type="ayaTypes().Report"
|
||||||
{{ $ay.t("NotifyEventCSRAccepted") }}
|
:variant="ayaTypes().WorkOrder.toString()"
|
||||||
</div>
|
show-edit-icon
|
||||||
</v-col>
|
v-model="obj.customerDefaultWorkOrderReportId"
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
:readonly="formState.readOnly"
|
||||||
<v-checkbox
|
:label="$ay.t('DefaultCustomerAccessWorkOrderReport')"
|
||||||
v-model="obj.customerAllowNotifyCSRAccepted"
|
ref="customerDefaultWorkOrderReportId"
|
||||||
:readonly="formState.readOnly"
|
data-cy="customerDefaultWorkOrderReportId"
|
||||||
:label="$ay.t('Active')"
|
:error-messages="
|
||||||
ref="customerAllowNotifyCSRAccepted"
|
form().serverErrors(
|
||||||
data-cy="customerAllowNotifyCSRAccepted"
|
this,
|
||||||
:error-messages="
|
'customerDefaultWorkOrderReportId'
|
||||||
form().serverErrors(this, 'customerAllowNotifyCSRAccepted')
|
)
|
||||||
"
|
"
|
||||||
@change="fieldValueChanged('customerAllowNotifyCSRAccepted')"
|
@input="
|
||||||
></v-checkbox>
|
fieldValueChanged('customerDefaultWorkOrderReportId')
|
||||||
</v-col>
|
"
|
||||||
<v-col cols="12" sm="6" lg="4">
|
></gz-pick-list>
|
||||||
<gz-tag-picker
|
</v-col>
|
||||||
v-model="obj.customerAllowNotifyCSRAcceptedInTags"
|
</v-row>
|
||||||
:readonly="formState.readOnly"
|
</v-expansion-panel-content>
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
</v-expansion-panel>
|
||||||
ref="customerAllowNotifyCSRAcceptedInTags"
|
<v-expansion-panel key="3">
|
||||||
data-cy="customerAllowNotifyCSRAcceptedInTags"
|
<v-expansion-panel-header>
|
||||||
:error-messages="
|
<span class="text-h6">
|
||||||
form().serverErrors(
|
{{ $ay.t("CustomerAccessWorkOrderWiki") }}
|
||||||
this,
|
</span>
|
||||||
'customerAllowNotifyCSRAcceptedInTags'
|
</v-expansion-panel-header>
|
||||||
)
|
<v-expansion-panel-content>
|
||||||
"
|
<v-row>
|
||||||
@input="fieldValueChanged('customerAllowNotifyCSRAcceptedInTags')"
|
<v-col cols="12" sm="6" lg="2">
|
||||||
></gz-tag-picker>
|
<v-checkbox
|
||||||
</v-col>
|
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>
|
||||||
|
<v-col cols="12" sm="6" lg="10">
|
||||||
|
<gz-tag-picker
|
||||||
|
v-model="obj.customerAllowWOWikiInTags"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
|
ref="customerAllowWOWikiInTags"
|
||||||
|
data-cy="customerAllowWOWikiInTags"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'customerAllowWOWikiInTags')
|
||||||
|
"
|
||||||
|
@input="fieldValueChanged('customerAllowWOWikiInTags')"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-expansion-panel-content>
|
||||||
|
</v-expansion-panel>
|
||||||
|
<v-expansion-panel key="4">
|
||||||
|
<v-expansion-panel-header>
|
||||||
|
<span class="text-h6">
|
||||||
|
{{ $ay.t("UserSettings") }}
|
||||||
|
</span>
|
||||||
|
</v-expansion-panel-header>
|
||||||
|
<v-expansion-panel-content>
|
||||||
|
<v-row>
|
||||||
|
<v-col cols="12" sm="6" lg="2">
|
||||||
|
<v-checkbox
|
||||||
|
v-model="obj.customerAllowUserSettings"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('Active')"
|
||||||
|
ref="customerAllowUserSettings"
|
||||||
|
data-cy="customerAllowUserSettings"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(this, 'customerAllowUserSettings')
|
||||||
|
"
|
||||||
|
@change="fieldValueChanged('customerAllowUserSettings')"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="10">
|
||||||
|
<gz-tag-picker
|
||||||
|
v-model="obj.customerAllowUserSettingsInTags"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
|
ref="customerAllowUserSettingsInTags"
|
||||||
|
data-cy="customerAllowUserSettingsInTags"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(
|
||||||
|
this,
|
||||||
|
'customerAllowUserSettingsInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged('customerAllowUserSettingsInTags')
|
||||||
|
"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
</v-row>
|
||||||
|
</v-expansion-panel-content>
|
||||||
|
</v-expansion-panel>
|
||||||
|
<v-expansion-panel key="5">
|
||||||
|
<v-expansion-panel-header>
|
||||||
|
<span class="text-h6">
|
||||||
|
{{ $ay.t("NotifySubscriptionList") }}
|
||||||
|
</span>
|
||||||
|
</v-expansion-panel-header>
|
||||||
|
<v-expansion-panel-content>
|
||||||
|
<v-col cols="12">
|
||||||
|
<div class="text-subtitle-1">
|
||||||
|
{{ $ay.t("NotifyEventCustomerServiceImminent") }}
|
||||||
|
</div>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-checkbox
|
||||||
|
v-model="obj.customerAllowNotifyServiceImminent"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('Active')"
|
||||||
|
ref="customerAllowNotifyServiceImminent"
|
||||||
|
data-cy="customerAllowNotifyServiceImminent"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(
|
||||||
|
this,
|
||||||
|
'customerAllowNotifyServiceImminent'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@change="
|
||||||
|
fieldValueChanged('customerAllowNotifyServiceImminent')
|
||||||
|
"
|
||||||
|
></v-checkbox>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4">
|
||||||
|
<gz-tag-picker
|
||||||
|
v-model="obj.customerAllowNotifyServiceImminentInTags"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
|
ref="customerAllowNotifyServiceImminentInTags"
|
||||||
|
data-cy="customerAllowNotifyServiceImminentInTags"
|
||||||
|
:error-messages="
|
||||||
|
form().serverErrors(
|
||||||
|
this,
|
||||||
|
'customerAllowNotifyServiceImminentInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged(
|
||||||
|
'customerAllowNotifyServiceImminentInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<!-- ######################################################## -->
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<div class="text-subtitle-1">
|
<div class="text-subtitle-1">
|
||||||
{{ $ay.t("NotifyEventCSRRejected") }}
|
{{ $ay.t("NotifyEventCSRAccepted") }}
|
||||||
</div>
|
</div>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
v-model="obj.customerAllowNotifyCSRRejected"
|
v-model="obj.customerAllowNotifyCSRAccepted"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:label="$ay.t('Active')"
|
:label="$ay.t('Active')"
|
||||||
ref="customerAllowNotifyCSRRejected"
|
ref="customerAllowNotifyCSRAccepted"
|
||||||
data-cy="customerAllowNotifyCSRRejected"
|
data-cy="customerAllowNotifyCSRAccepted"
|
||||||
:error-messages="
|
:error-messages="
|
||||||
form().serverErrors(this, 'customerAllowNotifyCSRRejected')
|
form().serverErrors(
|
||||||
"
|
this,
|
||||||
@change="fieldValueChanged('customerAllowNotifyCSRRejected')"
|
'customerAllowNotifyCSRAccepted'
|
||||||
></v-checkbox>
|
)
|
||||||
</v-col>
|
"
|
||||||
<v-col cols="12" sm="6" lg="4">
|
@change="
|
||||||
<gz-tag-picker
|
fieldValueChanged('customerAllowNotifyCSRAccepted')
|
||||||
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.customerAllowNotifyCSRAcceptedInTags"
|
||||||
form().serverErrors(
|
:readonly="formState.readOnly"
|
||||||
this,
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
'customerAllowNotifyCSRRejectedInTags'
|
ref="customerAllowNotifyCSRAcceptedInTags"
|
||||||
)
|
data-cy="customerAllowNotifyCSRAcceptedInTags"
|
||||||
"
|
:error-messages="
|
||||||
@input="fieldValueChanged('customerAllowNotifyCSRRejectedInTags')"
|
form().serverErrors(
|
||||||
></gz-tag-picker>
|
this,
|
||||||
</v-col>
|
'customerAllowNotifyCSRAcceptedInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged(
|
||||||
|
'customerAllowNotifyCSRAcceptedInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<!-- ######################################################## -->
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<div class="text-subtitle-1">
|
<div class="text-subtitle-1">
|
||||||
{{ $ay.t("NotifyEventWorkorderCreatedForCustomer") }}
|
{{ $ay.t("NotifyEventCSRRejected") }}
|
||||||
</div>
|
</div>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
v-model="obj.customerAllowNotifyWOCreated"
|
v-model="obj.customerAllowNotifyCSRRejected"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:label="$ay.t('Active')"
|
:label="$ay.t('Active')"
|
||||||
ref="customerAllowNotifyWOCreated"
|
ref="customerAllowNotifyCSRRejected"
|
||||||
data-cy="customerAllowNotifyWOCreated"
|
data-cy="customerAllowNotifyCSRRejected"
|
||||||
:error-messages="
|
:error-messages="
|
||||||
form().serverErrors(this, 'customerAllowNotifyWOCreated')
|
form().serverErrors(
|
||||||
"
|
this,
|
||||||
@change="fieldValueChanged('customerAllowNotifyWOCreated')"
|
'customerAllowNotifyCSRRejected'
|
||||||
></v-checkbox>
|
)
|
||||||
</v-col>
|
"
|
||||||
<v-col cols="12" sm="6" lg="4">
|
@change="
|
||||||
<gz-tag-picker
|
fieldValueChanged('customerAllowNotifyCSRRejected')
|
||||||
v-model="obj.customerAllowNotifyWOCreatedInTags"
|
"
|
||||||
:readonly="formState.readOnly"
|
></v-checkbox>
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
</v-col>
|
||||||
ref="customerAllowNotifyWOCreatedInTags"
|
<v-col cols="12" sm="6" lg="4">
|
||||||
data-cy="customerAllowNotifyWOCreatedInTags"
|
<gz-tag-picker
|
||||||
:error-messages="
|
v-model="obj.customerAllowNotifyCSRRejectedInTags"
|
||||||
form().serverErrors(this, 'customerAllowNotifyWOCreatedInTags')
|
:readonly="formState.readOnly"
|
||||||
"
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
@input="fieldValueChanged('customerAllowNotifyWOCreatedInTags')"
|
ref="customerAllowNotifyCSRRejectedInTags"
|
||||||
></gz-tag-picker>
|
data-cy="customerAllowNotifyCSRRejectedInTags"
|
||||||
</v-col>
|
:error-messages="
|
||||||
|
form().serverErrors(
|
||||||
|
this,
|
||||||
|
'customerAllowNotifyCSRRejectedInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged(
|
||||||
|
'customerAllowNotifyCSRRejectedInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
<!-- ######################################################## -->
|
<!-- ######################################################## -->
|
||||||
<v-col cols="12">
|
<v-col cols="12">
|
||||||
<div class="text-subtitle-1">
|
<div class="text-subtitle-1">
|
||||||
{{ $ay.t("NotifyEventWorkorderCompleted") }}
|
{{ $ay.t("NotifyEventWorkorderCreatedForCustomer") }}
|
||||||
</div>
|
</div>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col cols="12" sm="6" lg="4" xl="3">
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
<v-checkbox
|
<v-checkbox
|
||||||
v-model="obj.customerAllowNotifyWOCompleted"
|
v-model="obj.customerAllowNotifyWOCreated"
|
||||||
:readonly="formState.readOnly"
|
:readonly="formState.readOnly"
|
||||||
:label="$ay.t('Active')"
|
:label="$ay.t('Active')"
|
||||||
ref="customerAllowNotifyWOCompleted"
|
ref="customerAllowNotifyWOCreated"
|
||||||
data-cy="customerAllowNotifyWOCompleted"
|
data-cy="customerAllowNotifyWOCreated"
|
||||||
:error-messages="
|
:error-messages="
|
||||||
form().serverErrors(this, 'customerAllowNotifyWOCompleted')
|
form().serverErrors(
|
||||||
"
|
this,
|
||||||
@change="fieldValueChanged('customerAllowNotifyWOCompleted')"
|
'customerAllowNotifyWOCreated'
|
||||||
></v-checkbox>
|
)
|
||||||
</v-col>
|
"
|
||||||
<v-col cols="12" sm="6" lg="4">
|
@change="
|
||||||
<gz-tag-picker
|
fieldValueChanged('customerAllowNotifyWOCreated')
|
||||||
v-model="obj.customerAllowNotifyWOCompletedInTags"
|
"
|
||||||
:readonly="formState.readOnly"
|
></v-checkbox>
|
||||||
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
</v-col>
|
||||||
ref="customerAllowNotifyWOCompletedInTags"
|
<v-col cols="12" sm="6" lg="4">
|
||||||
data-cy="customerAllowNotifyWOCompletedInTags"
|
<gz-tag-picker
|
||||||
:error-messages="
|
v-model="obj.customerAllowNotifyWOCreatedInTags"
|
||||||
form().serverErrors(
|
:readonly="formState.readOnly"
|
||||||
this,
|
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
|
||||||
'customerAllowNotifyWOCompletedInTags'
|
ref="customerAllowNotifyWOCreatedInTags"
|
||||||
)
|
data-cy="customerAllowNotifyWOCreatedInTags"
|
||||||
"
|
:error-messages="
|
||||||
@input="fieldValueChanged('customerAllowNotifyWOCompletedInTags')"
|
form().serverErrors(
|
||||||
></gz-tag-picker>
|
this,
|
||||||
</v-col>
|
'customerAllowNotifyWOCreatedInTags'
|
||||||
|
)
|
||||||
|
"
|
||||||
|
@input="
|
||||||
|
fieldValueChanged('customerAllowNotifyWOCreatedInTags')
|
||||||
|
"
|
||||||
|
></gz-tag-picker>
|
||||||
|
</v-col>
|
||||||
|
|
||||||
|
<!-- ######################################################## -->
|
||||||
|
<v-col cols="12">
|
||||||
|
<div class="text-subtitle-1">
|
||||||
|
{{ $ay.t("NotifyEventWorkorderCompleted") }}
|
||||||
|
</div>
|
||||||
|
</v-col>
|
||||||
|
<v-col cols="12" sm="6" lg="4" xl="3">
|
||||||
|
<v-checkbox
|
||||||
|
v-model="obj.customerAllowNotifyWOCompleted"
|
||||||
|
:readonly="formState.readOnly"
|
||||||
|
:label="$ay.t('Active')"
|
||||||
|
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="4">
|
||||||
|
<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-expansion-panel-content>
|
||||||
|
</v-expansion-panel>
|
||||||
|
</v-expansion-panels>
|
||||||
|
</v-col>
|
||||||
<!-- **************************************************** -->
|
<!-- **************************************************** -->
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-form>
|
</v-form>
|
||||||
@@ -648,7 +740,8 @@ export default {
|
|||||||
serverError: {}
|
serverError: {}
|
||||||
},
|
},
|
||||||
rights: window.$gz.role.defaultRightsObject(),
|
rights: window.$gz.role.defaultRightsObject(),
|
||||||
ayaType: window.$gz.type.Project
|
ayaType: window.$gz.type.Project,
|
||||||
|
listgroupitems: []
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
Reference in New Issue
Block a user