From 0b48831fbbecbdc0825c13002e684d9355168189 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 14 Jun 2021 19:16:03 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 1 + ayanova/src/views/home-notify-subscription.vue | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 5358a401..b7f367ff 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -388,6 +388,7 @@ CURRENTLY DOING: Work order notifications - The Andy - need a single function that totals a wokrorder using all the lintotalviz fields in all the children that have them in all the woitems only check if someone subscribes needs to be done in all the areas that can affect the total so make it a single call to make from any of them much like standard object notifiations + ** Do not forget to document that this is triggered on Closed typ wo status only not just modifications etc Steps to test notifications: diff --git a/ayanova/src/views/home-notify-subscription.vue b/ayanova/src/views/home-notify-subscription.vue index 930be6a1..acc48977 100644 --- a/ayanova/src/views/home-notify-subscription.vue +++ b/ayanova/src/views/home-notify-subscription.vue @@ -65,7 +65,19 @@ - todo: decValue here for "The Andy" + @@ -740,7 +752,8 @@ async function fetchTranslatedText(vm) { "tags", "Duration", "TaggedWith", - "WorkOrderStatus" + "WorkOrderStatus", + "Total" ]); }