diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index f2ac6993..d18b188c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -64,8 +64,13 @@ DONE: New widget exposes issue with empty dates and the picker, it gives an erro DONE: DUPLICATE - Make it work, maybe server should do the duplicating and just return a record when user selects this, a duplicate route -TODO: Reports - stub out +### TODO: Reports - stub out - Stub out some fake reports in a drop down selection for testing, doesn't have to do anything but be present + - Currently implementing as a dialog, either I need to follow the vuetify dialog example and put it in the shell app.vue or I'm going to use the dialog library I already have once I get an answer on templates + - If I use the vuetify example it means there needs to be a dialog in the shell that is activated from any form inside it but it also needs to be bound and shit and won't be very clean + - If I use the library dialog component and figure it out in theory it will just popup when required and not pollute the shell template with anything. I guess it inserts itself into the dom. + - I have a question in to the developer about how to do the example with templates here: https://github.com/yariksav/vuetify-dialog/issues/39 + - The vuetify dialog example I would use is here: https://vuetifyjs.com/en/components/dialogs#form and the top one without activator here: https://vuetifyjs.com/en/components/dialogs#without-activator TODO: Fill selection boxes, autocomplete handling etc TODO: TAGS!!! Do tags mofo TODO: Record history display / check other AyaNova 7 options / buttons that need to carry forward diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index c22afa11..33d77025 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -238,12 +238,12 @@ function generateMenu(vm) { } //STUB REPORTS + menuOptions.menuItems.push({ title: vm.$gzlocale.get("Print"), icon: "print", key: FORM_KEY + ":report", - vm: vm, - subitems: vm.$gzreport.availableReports("") + vm: vm }); vm.$gzevent.$emit("menu-change", menuOptions);