diff --git a/ayanova/src/views/adm-global-settings.vue b/ayanova/src/views/adm-global-settings.vue index c46f9e6b..75b3be80 100644 --- a/ayanova/src/views/adm-global-settings.vue +++ b/ayanova/src/views/adm-global-settings.vue @@ -147,6 +147,49 @@ {{ $ay.t("CustomerAccessSettings") }} + + + + {{ $ay.t("CustomerServiceRequestList") }} + + + + + + + + + + + @@ -221,6 +264,46 @@ export default { data() { return { // formCustomTemplateKey: FORM_CUSTOM_TEMPLATE_KEY, + + a: { + id: 1, + concurrency: 9339819, + searchCaseSensitiveOnly: false, + useInventory: true, + taxPartPurchaseId: 2, + taxPartSaleId: 2, + taxRateSaleId: 1, + workLaborScheduleDefaultMinutes: 0, + workOrderTravelDefaultMinutes: 0, + workOrderCompleteByAge: "00:00:00", + customerDefaultWorkOrderReportId: null, + customerServiceRequestInfoHTML: null, + customerAllowCSR: false, + customerAllowCSRInTags: null, + customerAllowCSROutTags: null, + customerAllowViewWO: false, + customerAllowViewWOInTags: null, + customerAllowViewWOOutTags: null, + customerAllowWOWiki: false, + customerAllowWOWikiInTags: null, + customerAllowWOWikiOutTags: null, + customerAllowUserSettings: false, + customerAllowUserSettingsInTags: null, + customerAllowUserSettingsOutTags: null, + customerAllowNotifyServiceImminent: false, + customerAllowNotifyServiceImminentInTags: null, + customerAllowNotifyServiceImminentOutTags: null, + customerAllowNotifyCSRAccepted: false, + customerAllowNotifyCSRAcceptedInTags: null, + customerAllowNotifyCSRAcceptedOutTags: null, + customerAllowNotifyCSRRejected: false, + customerAllowNotifyCSRRejectedInTags: null, + customerAllowNotifyCSRRejectedOutTags: null, + customerAllowNotifyWorkorderCreated: false, + customerAllowNotifyWorkorderCreatedInTags: null, + customerAllowNotifyWorkorderCreatedOutTags: null + }, + obj: //IMPORTANT NOTE: Fields that are NON NULLABLE in the schema for the table but *are* hideable **MUST** have a default value set here or else there will be no way to save the record //I.E. Serial, usertype fields, ACTIVE @@ -235,7 +318,33 @@ export default { taxRateSaleId: null, workOrderCompleteByAge: "00:00:00", workOrderTravelDefaultMinutes: 0, - workLaborScheduleDefaultMinutes: 0 + workLaborScheduleDefaultMinutes: 0, + customerDefaultWorkOrderReportId: null, + customerServiceRequestInfoHTML: null, + customerAllowCSR: false, + customerAllowCSRInTags: [], + customerAllowCSROutTags: [], + customerAllowViewWO: false, + customerAllowViewWOInTags: [], + customerAllowViewWOOutTags: [], + customerAllowWOWiki: false, + customerAllowWOWikiInTags: [], + customerAllowWOWikiOutTags: [], + customerAllowUserSettings: false, + customerAllowUserSettingsInTags: [], + customerAllowUserSettingsOutTags: [], + customerAllowNotifyServiceImminent: false, + customerAllowNotifyServiceImminentInTags: [], + customerAllowNotifyServiceImminentOutTags: [], + customerAllowNotifyCSRAccepted: false, + customerAllowNotifyCSRAcceptedInTags: [], + customerAllowNotifyCSRAcceptedOutTags: [], + customerAllowNotifyCSRRejected: false, + customerAllowNotifyCSRRejectedInTags: [], + customerAllowNotifyCSRRejectedOutTags: [], + customerAllowNotifyWorkorderCreated: false, + customerAllowNotifyWorkorderCreatedInTags: [], + customerAllowNotifyWorkorderCreatedOutTags: [] }, formState: { ready: false, @@ -454,6 +563,9 @@ async function initForm(vm) { // async function fetchTranslatedText(vm) { await window.$gz.translation.cacheTranslations([ + "TaggedWith", + "NotTaggedWith", + "CustomerServiceRequestList", "UserInterfaceSettings", "BusinessSettings", "CustomerAccessSettings",