diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 57f67ee0..c058fb6e 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -10,6 +10,8 @@ MISC ITEMS THAT CAME UP ## CLIENT MISC ITEMS todo: ClientNote form link back to customer disappears on save of NEW record only (not update), should always be present + also on list disappears if go anywhere else and return to it (like column chooser) + todo: validation errors not expanded in errorbox, for example saving a widget with same name results in proper display at name field but in error box says: Validation error @@ -56,9 +58,7 @@ todo: Attachments button should indicate attachments: ## SERVER MISC ITEMS -todo: PUTASYNC all biz objects CONCURRENCY ISSUE It's in need of tweaking: changes made to widgetbiz putasync method to replicate to all others - first of all it needs to return the putObject, not the dbObject otherwise the concurrency is outdated - secondly, it needs to check the concurrency token as a validation issue, the db doesn't do it, it doesn't care what it is + todo: many biz objects are not using new PUT methodology Might be because new methodology assumes complete PUT object as a entire replacement not a partial update some of these objects (User) do partial updates so.... diff --git a/ayanova/src/views/cust-customer-note.vue b/ayanova/src/views/cust-customer-note.vue index d6a8f37d..f91d1376 100644 --- a/ayanova/src/views/cust-customer-note.vue +++ b/ayanova/src/views/cust-customer-note.vue @@ -6,9 +6,17 @@ - - {{ customername }} + + + + - {{ customername }} + + + + + @@ -31,7 +41,7 @@ const FORM_KEY = "cust-customer-notes"; export default { created() { - this.customername = this.$route.params.customername; + this.customerId = parseInt(this.$route.params.customerid); //MIXED STATIC But with provided criteria FILTER this.clientCriteria = this.customerId.toString(); @@ -45,7 +55,7 @@ export default { data() { return { customerId: undefined, - customername: undefined, + // customername: undefined, clientCriteria: undefined, rights: window.$gz.role.defaultRightsObject(), ayType: window.$gz.type.CustomerNote, @@ -56,6 +66,9 @@ export default { methods: { handleSelected(selected) { this.selectedItems = selected; + }, + ayaTypes: function() { + return window.$gz.type; } } }; @@ -75,8 +88,7 @@ async function clickHandler(menuItem) { name: "customer-note-edit", params: { recordid: 0, - customerid: m.vm.customerId, - customername: m.vm.customername + customerid: m.vm.customerId } }); break; diff --git a/ayanova/src/views/inv-part-stock-levels.vue b/ayanova/src/views/inv-part-stock-levels.vue index a55cb7fe..79a56b73 100644 --- a/ayanova/src/views/inv-part-stock-levels.vue +++ b/ayanova/src/views/inv-part-stock-levels.vue @@ -2,15 +2,15 @@
- +