This commit is contained in:
2021-11-12 22:28:31 +00:00
parent e625d111e0
commit 108dd4c6c3
2 changed files with 12 additions and 10 deletions

View File

@@ -23,7 +23,8 @@
todo: Customer access
- global settings
- "Customer tagged with" instead of "Tagged with"
- "Customer tagged with" instead of "Tagged with" for tagged reports
- "Contact, Customer or Head office tagged with" instead of "Tagged with" for all others not reports but just access to that feature
- Remove all "Not tagged with", we're only going inclusive for this
- viewing workorder list is separate from viewing wo reports so needs separate right as well
- reports in section just under workorder list as they go together

View File

@@ -222,7 +222,7 @@
<gz-tag-picker
v-model="obj.customerAllowCSRInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowCSRInTags"
data-cy="customerAllowCSRInTags"
:error-messages="
@@ -267,7 +267,7 @@
<gz-tag-picker
v-model="obj.customerAllowViewWOInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowViewWOInTags"
data-cy="customerAllowViewWOInTags"
:error-messages="
@@ -315,7 +315,7 @@
<gz-tag-picker
v-model="obj.customerAllowWOWikiInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowWOWikiInTags"
data-cy="customerAllowWOWikiInTags"
:error-messages="
@@ -348,7 +348,7 @@
<gz-tag-picker
v-model="obj.customerAllowUserSettingsInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowUserSettingsInTags"
data-cy="customerAllowUserSettingsInTags"
:error-messages="
@@ -384,7 +384,7 @@
<gz-tag-picker
v-model="obj.customerAllowNotifyServiceImminentInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyServiceImminentInTags"
data-cy="customerAllowNotifyServiceImminentInTags"
:error-messages="
@@ -422,7 +422,7 @@
<gz-tag-picker
v-model="obj.customerAllowNotifyCSRAcceptedInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyCSRAcceptedInTags"
data-cy="customerAllowNotifyCSRAcceptedInTags"
:error-messages="
@@ -458,7 +458,7 @@
<gz-tag-picker
v-model="obj.customerAllowNotifyCSRRejectedInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyCSRRejectedInTags"
data-cy="customerAllowNotifyCSRRejectedInTags"
:error-messages="
@@ -494,7 +494,7 @@
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCreatedInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyWOCreatedInTags"
data-cy="customerAllowNotifyWOCreatedInTags"
:error-messages="
@@ -527,7 +527,7 @@
<gz-tag-picker
v-model="obj.customerAllowNotifyWOCompletedInTags"
:readonly="formState.readOnly"
:label="$ay.t('CustomerTaggedWith')"
:label="$ay.t('ContactCustomerHeadOfficeTaggedWith')"
ref="customerAllowNotifyWOCompletedInTags"
data-cy="customerAllowNotifyWOCompletedInTags"
:error-messages="
@@ -827,6 +827,7 @@ async function initForm(vm) {
async function fetchTranslatedText(vm) {
await window.$gz.translation.cacheTranslations([
"CustomerTaggedWith",
"ContactCustomerHeadOfficeTaggedWith",
"CustomerServiceRequestList",
"WorkOrderList",
"UserSettings",