This commit is contained in:
@@ -416,7 +416,7 @@ export default {
|
||||
case window.$gz.type.Project:
|
||||
return "$ayiLayerGroup";
|
||||
case window.$gz.type.PurchaseOrder:
|
||||
return "$ayiDollyFlatbed";
|
||||
return "$ayiTruckLoading";
|
||||
case window.$gz.type.Quote:
|
||||
return "$ayiPencilAlt";
|
||||
case window.$gz.type.QuoteItem:
|
||||
@@ -444,7 +444,7 @@ export default {
|
||||
case window.$gz.type.WorkOrderItemPart:
|
||||
return "$ayiBoxes";
|
||||
case window.$gz.type.WorkOrderItemPartRequest:
|
||||
return "$ayiPaperPlane";
|
||||
return "$ayiParachuteBox";
|
||||
case window.$gz.type.WorkOrderItemScheduledUser:
|
||||
return "$ayiUserClock";
|
||||
case window.$gz.type.WorkOrderItemTask:
|
||||
|
||||
@@ -375,12 +375,12 @@ function initNavPanel() {
|
||||
});
|
||||
}
|
||||
|
||||
//PART ASSEMBLIES
|
||||
if (window.$gz.role.canOpen(window.$gz.type.PartAssembly)) {
|
||||
//PURCHASE ORDERS
|
||||
if (useInventory && window.$gz.role.canOpen(window.$gz.type.PurchaseOrder)) {
|
||||
sub.push({
|
||||
title: "PartAssemblyList",
|
||||
icon: "$ayiObjectGroup",
|
||||
route: "/inv-part-assemblies",
|
||||
title: "InventoryPurchaseOrders",
|
||||
icon: "$ayiTruckLoading",
|
||||
route: "/inv-purchase-orders",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
@@ -395,6 +395,29 @@ function initNavPanel() {
|
||||
});
|
||||
}
|
||||
|
||||
//INVENTORY TRANSACTIONS
|
||||
if (useInventory && window.$gz.role.canOpen(window.$gz.type.PartInventory)) {
|
||||
sub.push({
|
||||
title: "PartInventoryTransactionList",
|
||||
icon: "$ayiPeopleCarry",
|
||||
route: "/inv-part-inventory-transactions",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//RESTOCK REQUIRED
|
||||
if (
|
||||
useInventory &&
|
||||
window.$gz.role.canOpen(window.$gz.type.WorkOrderItemPartRequest)
|
||||
) {
|
||||
sub.push({
|
||||
title: "PurchaseOrderUIRestockList",
|
||||
icon: "$ayiClipboardList",
|
||||
route: "/inv-part-restocks",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//PART REQUESTS
|
||||
if (
|
||||
useInventory &&
|
||||
@@ -402,46 +425,30 @@ function initNavPanel() {
|
||||
) {
|
||||
sub.push({
|
||||
title: "WorkOrderItemPartRequestList",
|
||||
icon: "$ayiPaperPlane",
|
||||
icon: "$ayiParachuteBox",
|
||||
route: "/inv-part-requests",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//PURCHASE ORDERS
|
||||
if (useInventory && window.$gz.role.canOpen(window.$gz.type.PurchaseOrder)) {
|
||||
//PART ASSEMBLIES
|
||||
if (window.$gz.role.canOpen(window.$gz.type.PartAssembly)) {
|
||||
sub.push({
|
||||
title: "InventoryPurchaseOrders",
|
||||
icon: "$ayiDollyFlatbed",
|
||||
route: "/inv-purchase-orders",
|
||||
title: "PartAssemblyList",
|
||||
icon: "$ayiObjectGroup",
|
||||
route: "/inv-part-assemblies",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//ADJUSTMENTS
|
||||
if (
|
||||
useInventory &&
|
||||
window.$gz.role.canOpen(window.$gz.type.PartInventory)
|
||||
) {
|
||||
sub.push({
|
||||
title: "PartInventoryTransactionList",
|
||||
icon: "$ayiDolly",
|
||||
route: "/inv-part-inventory-transactions",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//WAREHOUSES
|
||||
if (
|
||||
useInventory &&
|
||||
window.$gz.role.canOpen(window.$gz.type.PartWarehouse)
|
||||
) {
|
||||
sub.push({
|
||||
title: "PartWarehouseList",
|
||||
icon: "$ayiWarehouse",
|
||||
route: "/inv-part-warehouses",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
//WAREHOUSES
|
||||
if (useInventory && window.$gz.role.canOpen(window.$gz.type.PartWarehouse)) {
|
||||
sub.push({
|
||||
title: "PartWarehouseList",
|
||||
icon: "$ayiWarehouse",
|
||||
route: "/inv-part-warehouses",
|
||||
key: key++
|
||||
});
|
||||
}
|
||||
|
||||
//**** INVENTORY (TOP GROUP)
|
||||
|
||||
@@ -157,6 +157,7 @@ export default {
|
||||
"InventoryPurchaseOrders",
|
||||
"PartInventoryTransactionList",
|
||||
"PartWarehouseList",
|
||||
"PurchaseOrderUIRestockList",
|
||||
"WidgetList",
|
||||
"VendorList",
|
||||
"AdministrationGlobalSettings",
|
||||
|
||||
Reference in New Issue
Block a user