This commit is contained in:
2022-01-12 23:46:03 +00:00
parent 27fb6de01e
commit 13be0304f7
2 changed files with 5 additions and 33 deletions

View File

@@ -784,7 +784,7 @@ TODO: 1 BETA DOCS:
| |____| |____ _| |_| |____| |\ | | | | |____| |____ _| |_| |____| |\ | | |
\_____|______|_____|______|_| \_| |_| \_____|______|_____|______|_| \_| |_|
- 1 why is login form showing eval user "Service' instead of Service - manager?
- 2 todo: put reset link somewhere in UI so user can just click on it, maybe the login form?? Or the About form? about->log form? - 2 todo: put reset link somewhere in UI so user can just click on it, maybe the login form?? Or the About form? about->log form?
@@ -1361,5 +1361,8 @@ BUILD 8.0.0-beta.0.11 CHANGES OF NOTE
- case 4072 - set to priority 2 to keep an eye on in case it becomes an issue or I can fix it in some way - case 4072 - set to priority 2 to keep an eye on in case it becomes an issue or I can fix it in some way
- case 4073 fixed - case 4073 fixed
- case 4074 see case notes for changes made
- case 4075 fixed

View File

@@ -1,6 +1,5 @@
<template> <template>
<div> <div>
<gz-report-selector ref="reportSelector"></gz-report-selector>
<v-row justify="center"> <v-row justify="center">
<v-dialog v-model="replaceDialog" persistent max-width="600px"> <v-dialog v-model="replaceDialog" persistent max-width="600px">
<v-card> <v-card>
@@ -477,21 +476,7 @@ async function clickHandler(menuItem) {
case "duplicate": case "duplicate":
m.vm.duplicate(); m.vm.duplicate();
break; break;
case "report":
{
const res = await m.vm.$refs.reportSelector.open(
{
AType: window.$gz.type.Translation,
selectedRowIds: [m.vm.obj.id]
},
m.id
);
if (res == null) {
return;
}
window.$gz.form.setLastReportMenuItem(FORM_KEY, res, m.vm);
}
break;
default: default:
window.$gz.eventBus.$emit( window.$gz.eventBus.$emit(
"notify-warning", "notify-warning",
@@ -528,22 +513,6 @@ function generateMenu(vm) {
}); });
} }
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 && vm.$route.params.recordid != 0) { if (vm.rights.change && vm.$route.params.recordid != 0) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "Duplicate", title: "Duplicate",