From 1d4fabed7800c208e4edaeb91022c1e9f4c8ce88 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 3 Dec 2020 20:17:44 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 4 + ayanova/src/router.js | 9 +- ayanova/src/views/vendor.vue | 1368 ++++++++++++++++++++++++++++++++++ 3 files changed, 1379 insertions(+), 2 deletions(-) create mode 100644 ayanova/src/views/vendor.vue diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 69378e9a..abe1387b 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -17,7 +17,11 @@ todo: if list view not found / deleted when grid list form is opened rather than or I guess on demand is best since it's not eating up bandwidth +todo: deleting customer does it delete all associated data: + customer notes + customer contacts +todo: deleting HeadOffice does it delete all contacts too? diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 07ce7f3b..ce15cc84 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -324,9 +324,14 @@ export default new Router({ path: "/vendors", name: "vendors", component: () => - import(/* webpackChunkName: "vendors" */ "./views/vendors.vue") + import(/* webpackChunkName: "vend" */ "./views/vendors.vue") + }, + { + path: "/vendors/:recordid", + name: "vendor-edit", + component: () => + import(/* webpackChunkName: "vend" */ "./views/vendor.vue") }, - { path: "/acc-accounting", name: "acc-accounting", diff --git a/ayanova/src/views/vendor.vue b/ayanova/src/views/vendor.vue new file mode 100644 index 00000000..bcddb21f --- /dev/null +++ b/ayanova/src/views/vendor.vue @@ -0,0 +1,1368 @@ + + +