diff --git a/ayanova/src/views/cust-head-office.vue b/ayanova/src/views/cust-head-office.vue index 9a8b5908..00197ea7 100644 --- a/ayanova/src/views/cust-head-office.vue +++ b/ayanova/src/views/cust-head-office.vue @@ -1377,42 +1377,16 @@ function generateMenu(vm) { menuOptions.menuItems.push({ divider: true, inset: false }); - menuOptions.menuItems.push({ - title: "HeadOfficeNoteList", - icon: "$ayiClipboard", - key: FORM_KEY + ":HeadOfficeNoteList", - vm: vm - }); - //---- SHOW ALL --- - //MIGRATE_OUTSTANDING show all: workorderlist, unitlist, quotelist, pmlist + //todo: this will need to show a customer list filtered by meta filter for headoffices + //so the user can then view customer or show all to view all wo, units, quotes etc menuOptions.menuItems.push({ - title: "WorkOrderList", - icon: "$ayiTools", - key: FORM_KEY + ":WorkOrderList", + title: "CustomerList", + icon: "$ayiAddressCard", + key: FORM_KEY + ":CustomerList", vm: vm }); - menuOptions.menuItems.push({ - title: "UnitList", - icon: "$ayiFan", - key: FORM_KEY + ":UnitList", - vm: vm - }); - - menuOptions.menuItems.push({ - title: "QuoteList", - icon: "$ayiPencilAlt", - key: FORM_KEY + ":QuoteList", - vm: vm - }); - - menuOptions.menuItems.push({ - title: "PMList", - icon: "$ayiBusinessTime", - key: FORM_KEY + ":PMList", - vm: vm - }); //--- /show all --- menuOptions.menuItems.push({ @@ -1497,10 +1471,7 @@ async function fetchTranslatedText(vm) { "UserPhone2", "UserPageAddress", "Contact", - "LastLogin", - "HeadOfficeNoteList", - "HeadOfficeNoteNotes", - "HeadOfficeNoteNoteDate" + "LastLogin" ]); }