This commit is contained in:
@@ -1377,42 +1377,16 @@ function generateMenu(vm) {
|
|||||||
|
|
||||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||||
|
|
||||||
menuOptions.menuItems.push({
|
|
||||||
title: "HeadOfficeNoteList",
|
|
||||||
icon: "$ayiClipboard",
|
|
||||||
key: FORM_KEY + ":HeadOfficeNoteList",
|
|
||||||
vm: vm
|
|
||||||
});
|
|
||||||
|
|
||||||
//---- SHOW ALL ---
|
//---- 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({
|
menuOptions.menuItems.push({
|
||||||
title: "WorkOrderList",
|
title: "CustomerList",
|
||||||
icon: "$ayiTools",
|
icon: "$ayiAddressCard",
|
||||||
key: FORM_KEY + ":WorkOrderList",
|
key: FORM_KEY + ":CustomerList",
|
||||||
vm: vm
|
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 ---
|
//--- /show all ---
|
||||||
|
|
||||||
menuOptions.menuItems.push({
|
menuOptions.menuItems.push({
|
||||||
@@ -1497,10 +1471,7 @@ async function fetchTranslatedText(vm) {
|
|||||||
"UserPhone2",
|
"UserPhone2",
|
||||||
"UserPageAddress",
|
"UserPageAddress",
|
||||||
"Contact",
|
"Contact",
|
||||||
"LastLogin",
|
"LastLogin"
|
||||||
"HeadOfficeNoteList",
|
|
||||||
"HeadOfficeNoteNotes",
|
|
||||||
"HeadOfficeNoteNoteDate"
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user