case 4058

This commit is contained in:
2021-12-31 18:43:50 +00:00
parent c2bc4d7286
commit de7bf2e0e2
2 changed files with 4 additions and 17 deletions

View File

@@ -260,23 +260,6 @@ function generateMenu(vm) {
helpUrl: "adm-attachments",
menuItems: []
};
menuOptions.menuItems.push({
title: "Report",
icon: "$ayiFileAlt",
key: FORM_KEY + ":report",
vm: vm
});
const lastReport = window.$gz.form.getLastReport(FORM_KEY);
if (lastReport != null) {
menuOptions.menuItems.push({
title: lastReport.name,
notrans: true,
icon: "$ayiFileAlt",
key: FORM_KEY + ":report:" + lastReport.id,
vm: vm
});
}
if (vm.rights.change) {
menuOptions.menuItems.push({