diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 7a92be33..48488094 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -26,6 +26,10 @@ currently doing: MEMO - MemoDataList needs criteria implemented and rest of fields defined, then can do the list form here Memo form field definitions + search results should not pull up other's memo's + exclude from searching? Not searchable?? + Or post process?? + EACH OBJECT DEV CYCLE: FIRST Check cases, make sure not changing the object fundamentally, many v7 objects are going to change for cases (particularly inventory related) diff --git a/ayanova/src/api/open-object-handler.js b/ayanova/src/api/open-object-handler.js index a0bb1512..a41bfc15 100644 --- a/ayanova/src/api/open-object-handler.js +++ b/ayanova/src/api/open-object-handler.js @@ -15,6 +15,12 @@ export default { if (tid.type && tid.id != null) { switch (tid.type) { + case ayatype.Memo: + vm.$router.push({ + name: "memo-edit", + params: { recordid: tid.id } + }); + break; case ayatype.Customer: vm.$router.push({ name: "customer-edit", diff --git a/ayanova/src/router.js b/ayanova/src/router.js index ce15cc84..a942ef65 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -97,6 +97,12 @@ export default new Router({ component: () => import(/* webpackChunkName: "ay-common" */ "./views/home-memos.vue") }, + { + path: "/home-memos/:recordid", + name: "memo-edit", + component: () => + import(/* webpackChunkName: "vend" */ "./views/home-memo.vue") + }, { path: "/home-notifications", name: "home-notifications", diff --git a/ayanova/src/views/home-memo.vue b/ayanova/src/views/home-memo.vue index 30e8f18c..d18d98cd 100644 --- a/ayanova/src/views/home-memo.vue +++ b/ayanova/src/views/home-memo.vue @@ -559,38 +559,9 @@ async function initForm(vm) { async function fetchTranslatedText(vm) { await window.$gz.translation.cacheTranslations([ "Memo", - "MemoName", - "MemoNotes", - "WebAddress", - "MemoPopUpNotes", - "MemoBillHeadOffice", - "HeadOffice", - "MemoTechNotes", - "MemoAccountNumber", - "MemoContact", - "MemoContactNotes", - "MemoPhone1", - "MemoPhone2", - "MemoPhone3", - "MemoPhone4", - "MemoPhone5", - "MemoEmail", - "AddressTypePhysical", - "AddressTypePostal", - "AddressCopyToPostal", - "AddressCopyToPhysical", - "Address", - "AddressPostalDeliveryAddress", - "AddressPostalCity", - "AddressPostalStateProv", - "AddressPostalCountry", - "AddressPostalPostal", - "AddressDeliveryAddress", - "AddressCity", - "AddressStateProv", - "AddressCountry", - "AddressLatitude", - "AddressLongitude", + "MemoSubject", + "MemoMessage", + "MemoToID", "MemoCustom1", "MemoCustom2", "MemoCustom3",