From 83e90f23f52b17f2bc6826a3e1784d9881b32dd6 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 17 Nov 2021 21:44:08 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 14 ++++++++++++++ ayanova/src/views/customer-workorder.vue | 6 +----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 4a7e6af1..406aab4e 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -38,6 +38,20 @@ todo: Customer access Or does it open into a form where user can print the wo view attachments etc?? view signature maybe?? +Customer access global settings + view wiki, view attachments currently is contact,customer or ho with tags, should expand to also include if wo tagged + this way they can choose to expose only wo by wo or for all wo for contact or for ho or for customer etc + gives the ability to restrict to single wo's only + +Customer wo form + open, fetches customer version of wo data + server checks what they can see and indicates in return data + returns: + whatever shows about the wo + only includes wiki if available otherwise empty stripped out + wo header wiki availability + wo header attachments availablility + attachment route needs to also re-check this availability thing diff --git a/ayanova/src/views/customer-workorder.vue b/ayanova/src/views/customer-workorder.vue index 5e933b16..17230a53 100644 --- a/ayanova/src/views/customer-workorder.vue +++ b/ayanova/src/views/customer-workorder.vue @@ -113,11 +113,7 @@ function generateMenu(vm) { icon: "$ayiTools", title: "WorkOrder", helpUrl: "customer-workorders", - formData: { - ayaType: window.$gz.type.WorkOrder, - recordId: vm.$route.params.recordid, - recordName: vm.obj.name - }, + hideSearch: true, menuItems: [] };