This commit is contained in:
2020-12-08 00:05:31 +00:00
parent 742b2068b8
commit 73c94204df
3 changed files with 18 additions and 17 deletions

View File

@@ -7,9 +7,6 @@ MISC ITEMS THAT CAME UP
todo: sample headoffice user can't login
todo: No roles defined Users can login todo: No roles defined Users can login
Customer user with no roles can login and gets a CSR list screen Customer user with no roles can login and gets a CSR list screen
regular user with no roles can login and gets the evaluation screen regular user with no roles can login and gets the evaluation screen

View File

@@ -24,8 +24,8 @@ export default {
Unit: { Change: 33098, ReadFullRecord: 65669, Select: 131071 }, Unit: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
UnitModel: { Change: 33098, ReadFullRecord: 65669, Select: 131071 }, UnitModel: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
Vendor: { Change: 33098, ReadFullRecord: 65669, Select: 131071 }, Vendor: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
WorkOrder: { Change: 1354, ReadFullRecord: 98949, Select: 131071 }, WorkOrder: { Change: 1354, ReadFullRecord: 105093, Select: 131071 },
WorkOrderItem: { Change: 1354, ReadFullRecord: 98949, Select: 131071 }, WorkOrderItem: { Change: 1354, ReadFullRecord: 105093, Select: 131071 },
WorkOrderItemExpense: { Change: 1354, ReadFullRecord: 98949, Select: 131071 }, WorkOrderItemExpense: { Change: 1354, ReadFullRecord: 98949, Select: 131071 },
WorkOrderItemLabor: { Change: 1354, ReadFullRecord: 98949, Select: 131071 }, WorkOrderItemLabor: { Change: 1354, ReadFullRecord: 98949, Select: 131071 },
WorkOrderItemLoan: { Change: 1354, ReadFullRecord: 98949, Select: 131071 }, WorkOrderItemLoan: { Change: 1354, ReadFullRecord: 98949, Select: 131071 },

View File

@@ -62,20 +62,24 @@ function initNavPanel() {
}); });
//CSR LIST subitem //CSR LIST subitem
sub.push({ if (window.$gz.role.canOpen(window.$gz.type.CustomerServiceRequest)) {
title: "CustomerServiceRequestList", sub.push({
icon: "$ayiConciergeBell", title: "CustomerServiceRequestList",
route: "/customer-csr-list", icon: "$ayiConciergeBell",
key: key++ route: "/customer-csr-list",
}); key: key++
});
}
//WORKORDERS subitem //WORKORDERS subitem
sub.push({ if (window.$gz.role.canOpen(window.$gz.type.WorkOrder)) {
title: "WorkOrderList", sub.push({
icon: "$ayiTools", title: "WorkOrderList",
route: "/customer-workorders", icon: "$ayiTools",
key: key++ route: "/customer-workorders",
}); key: key++
});
}
//** CUSTOMER LOGIN HOME (TOP) //** CUSTOMER LOGIN HOME (TOP)