This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<script>
|
||||
import UnderConstruction from "../components/underconstruction.vue";
|
||||
/**
|
||||
*
|
||||
* NOTE: In router.js I've made the ayatype parameter OPTIONAL, so make sure to deal with that, it may be undefined, not just zero
|
||||
* - PUT SEARCH into main menu, it's constantly there like help with the source as part of the data sent with the click
|
||||
- I.E. source could be widget from list or widget entry form and so user is searching widgets or source could be a main page where there is no source so it's empty and search everything
|
||||
- User clicks on search, it opens a main search form view which is also accessible under HOME section normally so two ways to get there
|
||||
|
||||
@@ -675,6 +675,22 @@ function generateMenu(vm) {
|
||||
});
|
||||
}
|
||||
|
||||
//STUB REPORTS
|
||||
//Report not Print, print is a further option
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.locale.get("Report"),
|
||||
icon: "file-alt",
|
||||
key: FORM_KEY + ":report",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: "stub: Last report used",
|
||||
icon: "file-alt",
|
||||
key: FORM_KEY + ":report:STUBlastusedreportid",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.locale.get("Duplicate"),
|
||||
@@ -684,15 +700,6 @@ function generateMenu(vm) {
|
||||
});
|
||||
}
|
||||
|
||||
//STUB REPORTS
|
||||
|
||||
menuOptions.menuItems.push({
|
||||
title: window.$gz.locale.get("Print"),
|
||||
icon: "print",
|
||||
key: FORM_KEY + ":report",
|
||||
vm: vm
|
||||
});
|
||||
|
||||
window.$gz.eventBus.$emit("menu-change", menuOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user