This commit is contained in:
@@ -1051,26 +1051,6 @@ function generateMenu(vm) {
|
||||
});
|
||||
}
|
||||
|
||||
// //STUB REPORTS
|
||||
// //Report not Print, print is a further option
|
||||
// menuOptions.menuItems.push({
|
||||
// title: "Report",
|
||||
// icon: "$ayiFileAlt",
|
||||
// key: FORM_KEY + ":report",
|
||||
// vm: vm
|
||||
// });
|
||||
|
||||
// //get last report selected
|
||||
// let lastReport = window.$gz.form.getLastReport(FORM_KEY);
|
||||
// if (lastReport != null) {
|
||||
// menuOptions.menuItems.push({
|
||||
// title: lastReport.name,
|
||||
// icon: "$ayiFileAlt",
|
||||
// key: FORM_KEY + ":report:" + lastReport.id,
|
||||
// vm: vm
|
||||
// });
|
||||
// }
|
||||
|
||||
if (vm.rights.change) {
|
||||
menuOptions.menuItems.push({
|
||||
title: "New",
|
||||
|
||||
Reference in New Issue
Block a user