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
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

View File

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

View File

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