This commit is contained in:
2022-03-04 23:25:41 +00:00
parent 6312a3a8f0
commit 19cf0086cd
3 changed files with 7 additions and 12 deletions

View File

@@ -324,7 +324,7 @@ function initNavPanel() {
sub.push({
title: "CustomerNotifySubscriptionList",
icon: "$ayiBullhorn",
route: "/customer-home-notify-subscriptions",
route: "/cust-notify-subscriptions",
key: key++
});

View File

@@ -110,6 +110,7 @@ export default {
"Service",
"CustomerList",
"HeadOfficeList",
"CustomerNotifySubscriptionList",
"Contacts",
"WorkOrderList",
"WorkOrderItemList",

View File

@@ -112,11 +112,7 @@ export default {
id: o.id,
eventType: eventDisplay,
ayaType: `[${window.$gz.enums.get("coreview", o.ayaType)}]`,
deliveryMethod: window.$gz.enums.get(
"NotifyDeliveryMethod",
o.deliveryMethod
),
deliveryAddress: o.deliveryAddress,
customerTags: window.$gz.util.formatTags(o.customerTags),
tags: window.$gz.util.formatTags(o.tags)
});
}
@@ -215,9 +211,8 @@ async function fetchTranslatedText() {
"NotifyEventType",
"ID",
"AyaType",
"NotifyDeliveryMethod",
"NotifyDeliveryAddress",
"Tags"
"Tags",
"CustomerTags"
]);
}
@@ -226,7 +221,7 @@ async function fetchTranslatedText() {
//
async function cacheEnums() {
await window.$gz.enums.fetchEnumList("NotifyEventType");
await window.$gz.enums.fetchEnumList("NotifyDeliveryMethod");
await window.$gz.enums.fetchEnumList("coreview");
}
@@ -237,9 +232,8 @@ async function createTableHeaders(vm) {
vm.headers = [
{ text: vm.$ay.t("ID"), value: "id" },
{ text: vm.$ay.t("NotifyEventType"), value: "eventType" },
{ text: vm.$ay.t("CustomerTags"), value: "customerTags" },
{ text: vm.$ay.t("AyaType"), value: "ayaType" },
{ text: vm.$ay.t("NotifyDeliveryMethod"), value: "deliveryMethod" },
{ text: vm.$ay.t("NotifyDeliveryAddress"), value: "deliveryAddress" },
{ text: vm.$ay.t("Tags"), value: "tags" }
];
}