diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 2216355e..8726cd1c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -407,22 +407,20 @@ todo: 3 Schedule form reporting? |_____/|______|_| \_\ \/ |______|_| \_\ - todo: 1 VERY IMPORTANT test on windows where all paths have spaces, i.e. set the server data path to a location with funky folder names with spaces etc confirm everything in raven that writes to disk still works, logging, backup, attachments, temp files served (reports) etc -TODO: 1 Log the startup folder for AyaNova and provide in all areas where you can view config because user may have trouble locating it on windows - -todo: 1 When there is a rendering issue with chromium browser startup the server *must* log that to the server log, right now it just half-ass reports it back to the client only - this is because it was written expecting any error was a template error not a starting chromium error so need to look there in the exception handler - would rather not log report template issues to the server log but anything else structural should be - -todo: 1 ExportController, right now is passing guid.empty to get export data so there is no job, needs to be jobified like reports so fix this up at front and back stealing from reporting code - todo: 1 TaskGroup list, there is a getreportdata but there is no report offered in menu, get there via workorder menu +todo: 1 extensions menu item might be set to wrong biz object type in some forms, was set to workorderstatus in taskgroups + case "extensions": menu item + maybe check other type needing lines in those objects too like reporting etc + + +todo: 2 ExportController, right now is passing guid.empty to get export data so there is no job, needs to be jobified like reports so fix this up at front and back stealing from reporting code + todo: 2 search for //MIGRATE_OUTSTANDING in server and in client and deal with it todo: 2 sample seeder add "In progress" status to workorder status list as there is currently no match to that @@ -782,6 +780,9 @@ BUILD 8.0.0-beta.0.9 CHANGES OF NOTE - changed unlicensed mode at client from only showing a license option in menu to now showing a limited OPS section with view logs and view server config as options this allows troubleshooting a not yet licensed server installation and also for when a license expires "unexpectedly" - fixed bug where printing a report would make the save icon show as available due to setting last report in menu +- Added "Boot path" to log file boot entries and also to server information shown in UI ops->server information so users (or us) can see what folder they *actually* run AyaNova from +- TaskGroups form added missing extensions menu item +- TaskGroups form added missing reporting menu item diff --git a/ayanova/src/views/svc-task-groups.vue b/ayanova/src/views/svc-task-groups.vue index 5fe9f4d4..4750e982 100644 --- a/ayanova/src/views/svc-task-groups.vue +++ b/ayanova/src/views/svc-task-groups.vue @@ -62,15 +62,26 @@ async function clickHandler(menuItem) { break; case "extensions": const res = await m.vm.$refs.extensions.open( - m.vm.$refs.gzdatatable.getDataListSelection( - window.$gz.type.WorkOrderStatus - ) + m.vm.$refs.gzdatatable.getDataListSelection(window.$gz.type.TaskGroup) ); if (res && res.refresh == true) { m.vm.reload = !m.vm.reload; } break; - + case "report": + { + const res = await m.vm.$refs.reportSelector.open( + m.vm.$refs.gzdatatable.getDataListSelection( + window.$gz.type.TaskGroup + ), + m.id + ); + if (res == null) { + return; + } + window.$gz.form.setLastReportMenuItem(FORM_KEY, res, m.vm); + } + break; default: window.$gz.eventBus.$emit( "notify-warning", @@ -104,6 +115,30 @@ function generateMenu(vm) { vm: 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 + }); + } + + menuOptions.menuItems.push({ + title: "Extensions", + icon: "$ayiPuzzlePiece", + key: FORM_KEY + ":extensions", + vm: vm + }); window.$gz.eventBus.$emit("menu-change", menuOptions); }