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 @@ + + +