This commit is contained in:
@@ -61,22 +61,9 @@ TODO: //MIGRATE_OUTSTANDING comment tag
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
currently doing: Review
|
currently doing: Review
|
||||||
Display, printable
|
todo: overdue warning / display
|
||||||
Currently just started create new from Customer
|
todo: where does supervisor see *all* reviews?
|
||||||
make name display at top a link back to the customer / source object to save hunting around
|
|
||||||
Make sure can review from all edit forms
|
|
||||||
test it out full from front to back start to finish, lots of edges on this one
|
|
||||||
|
|
||||||
todo: make new review from a review for the same object (new menu option in review)
|
|
||||||
todo: make a new review from review list
|
|
||||||
todo: not able to make a new review from review list when it's just a direct viewing of list
|
|
||||||
or should I add an object selector? NO
|
|
||||||
todo: overdue warning / display
|
|
||||||
|
|
||||||
|
|
||||||
EACH OBJECT DEV CYCLE:
|
EACH OBJECT DEV CYCLE:
|
||||||
|
|||||||
@@ -773,13 +773,15 @@ function generateMenu(vm) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||||
menuOptions.menuItems.push({
|
if (vm.selfAssigned || vm.hasSupervisorRole) {
|
||||||
title: "Delete",
|
menuOptions.menuItems.push({
|
||||||
icon: "$ayiTrashAlt",
|
title: "Delete",
|
||||||
surface: false,
|
icon: "$ayiTrashAlt",
|
||||||
key: FORM_KEY + ":delete",
|
surface: false,
|
||||||
vm: vm
|
key: FORM_KEY + ":delete",
|
||||||
});
|
vm: vm
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//REPORTS
|
//REPORTS
|
||||||
@@ -812,12 +814,14 @@ function generateMenu(vm) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (vm.rights.change) {
|
if (vm.rights.change) {
|
||||||
menuOptions.menuItems.push({
|
if (vm.selfAssigned || vm.hasSupervisorRole) {
|
||||||
title: "Duplicate",
|
menuOptions.menuItems.push({
|
||||||
icon: "$ayiClone",
|
title: "Duplicate",
|
||||||
key: FORM_KEY + ":duplicate",
|
icon: "$ayiClone",
|
||||||
vm: vm
|
key: FORM_KEY + ":duplicate",
|
||||||
});
|
vm: vm
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||||
|
|||||||
Reference in New Issue
Block a user