This commit is contained in:
2020-11-24 01:05:42 +00:00
parent 64277ac23e
commit e521044a08
6 changed files with 590 additions and 1514 deletions

View File

@@ -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"
]);
}