diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 511456d4..857a3f24 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -14,6 +14,7 @@ TODO CLIENT STUFF TODO NEXT +Figure out why custom fields don't exist in widgets test data and put it there so can code it. Put all the widget fields on the form Check rights when navigating to the form Fetch the record when the form opens diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 449bc057..32522cff 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -38,7 +38,7 @@ + +/* +Sample widget record api v8 +{ + "data": { + "id": 100, + "concurrencyToken": 2675248, + "ownerId": 1, + "name": "Fantastic Wooden Chips 122", + "serial": 100, + "dollarAmount": 584.83, + "active": true, + "roles": 8212, + "startDate": "2019-02-12T10:12:39.594206", + "endDate": "2019-02-12T13:40:59.986405", + "notes": "Eum optio incidunt blanditiis laboriosam. Sed ipsam occaecati minus corrupti repudiandae delectus. Culpa nostrum est ullam assumenda animi ut. Velit sunt ex ipsum. Temporibus cum quaerat at omnis at quas. Commodi dolor molestiae beatae.", + "count": 0, + "customFields": null, + "tags": [ + "brown", + "red" + ] + } +} +*/ \ No newline at end of file diff --git a/ayanova/src/views/log.vue b/ayanova/src/views/log.vue index 0e4dff9c..8c655fd7 100644 --- a/ayanova/src/views/log.vue +++ b/ayanova/src/views/log.vue @@ -16,7 +16,7 @@ import lt from "../api/locale"; import _ from "../utils/libs/lodash.js"; export default { data() { - return { logText: "" }; + return { logText: "", blah: 2 }; }, beforeRouteEnter(to, from, next) { lt.fetch(["Log"]).then(() => {