This commit is contained in:
2020-12-22 17:38:38 +00:00
parent 450c1a44b1
commit ee23416f28
2 changed files with 19 additions and 28 deletions

View File

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

View File

@@ -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 });