This commit is contained in:
@@ -1402,6 +1402,12 @@ async function clickHandler(menuItem) {
|
||||
postCode: m.vm.obj.postCode
|
||||
});
|
||||
break;
|
||||
case "CustomerNoteList":
|
||||
m.vm.$router.push({
|
||||
name: "customer-notes",
|
||||
params: { customerId: m.vm.Id }
|
||||
});
|
||||
break;
|
||||
default:
|
||||
window.$gz.eventBus.$emit(
|
||||
"notify-warning",
|
||||
@@ -1488,6 +1494,13 @@ function generateMenu(vm) {
|
||||
|
||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "CustomerNoteList",
|
||||
icon: "$ayiClipboard",
|
||||
key: FORM_KEY + ":CustomerNoteList",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
//---- SHOW ALL ---
|
||||
//MIGRATE_OUTSTANDING show all: workorderlist, unitlist, quotelist, pmlist
|
||||
menuOptions.menuItems.push({
|
||||
@@ -1606,7 +1619,9 @@ async function fetchTranslatedText(vm) {
|
||||
"UserPhone2",
|
||||
"UserPageAddress",
|
||||
"Contact",
|
||||
"LastLogin"
|
||||
"LastLogin",
|
||||
"CustomerNoteList",
|
||||
"CustomerNoteNotes"
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user