This commit is contained in:
@@ -61,22 +61,9 @@ TODO: //MIGRATE_OUTSTANDING comment tag
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
currently doing: Review
|
||||
Display, printable
|
||||
Currently just started create new from Customer
|
||||
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
|
||||
todo: overdue warning / display
|
||||
todo: where does supervisor see *all* reviews?
|
||||
|
||||
|
||||
EACH OBJECT DEV CYCLE:
|
||||
|
||||
@@ -773,13 +773,15 @@ function generateMenu(vm) {
|
||||
}
|
||||
|
||||
if (vm.rights.delete && vm.$route.params.recordid != 0) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "Delete",
|
||||
icon: "$ayiTrashAlt",
|
||||
surface: false,
|
||||
key: FORM_KEY + ":delete",
|
||||
vm: vm
|
||||
});
|
||||
if (vm.selfAssigned || vm.hasSupervisorRole) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "Delete",
|
||||
icon: "$ayiTrashAlt",
|
||||
surface: false,
|
||||
key: FORM_KEY + ":delete",
|
||||
vm: vm
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
//REPORTS
|
||||
@@ -812,12 +814,14 @@ function generateMenu(vm) {
|
||||
}
|
||||
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "Duplicate",
|
||||
icon: "$ayiClone",
|
||||
key: FORM_KEY + ":duplicate",
|
||||
vm: vm
|
||||
});
|
||||
if (vm.selfAssigned || vm.hasSupervisorRole) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "Duplicate",
|
||||
icon: "$ayiClone",
|
||||
key: FORM_KEY + ":duplicate",
|
||||
vm: vm
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
menuOptions.menuItems.push({ divider: true, inset: false });
|
||||
|
||||
Reference in New Issue
Block a user