This commit is contained in:
2020-12-02 19:59:30 +00:00
parent 53da89b0b6
commit 6716f9ea4e

View File

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