diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index add7d64d..5aa93ea7 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -43,7 +43,9 @@ todo: User grids, cursor changed to indicate a clickable entire line for each it todo: bugbug datetime control clear buttons don't trigger emit of empty date times contractexpires on customer form clearing it and saving sends date to server as if it wasn't cleared at all Better solution: one clear button that clears all and emits properly and disable the built in if possible - +todo: gz-data-table make sure unbounded notes column is bounded by some length restriction + mobile format is ok, it cuts off at one line, but for desktop we should have a sane limit as right now it's completely unbounded + this should apply to any column that displays text but particularly just the plain text ones todo: picklist empty null vs zero test with customer and headofficeid should have the empty selection pre-selected or maybe I need to do away with that since the clear button does the same thing? diff --git a/ayanova/src/api/open-object-handler.js b/ayanova/src/api/open-object-handler.js index d989dbd0..f51f0a63 100644 --- a/ayanova/src/api/open-object-handler.js +++ b/ayanova/src/api/open-object-handler.js @@ -21,6 +21,12 @@ export default { params: { recordid: tid.id } }); break; + case ayatype.CustomerNote: + vm.$router.push({ + name: "customer-note-edit", + params: { recordid: tid.id } + }); + break; case ayatype.Widget: vm.$router.push({ name: "widget-edit", diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 3e3e0033..22fb05a6 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -393,6 +393,10 @@ export default { }, formKey: String, dataListKey: String, + metaView: { + type: String, + default: undefined + }, showSelect: { type: Boolean, default: false @@ -481,7 +485,8 @@ export default { ObjectType: ayaType, selectedRowIds: selectedRowIds, dataListKey: vm.dataListKey, - listView: untokenizeListView(vm.listView) + listView: untokenizeListView(vm.listView), + metaView: vm.metaView }; }, handleSelectChange() { @@ -596,7 +601,8 @@ export default { offset: listOptions.Offset, limit: listOptions.Limit, dataListKey: vm.dataListKey, - listView: untokenizedListView + listView: untokenizedListView, + metaView: vm.metaView }); if (res.error) {