From 426e8d86df267e8e99fb955f2d498092db59e55b Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Sun, 6 Mar 2022 16:08:44 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 14 +- ayanova/src/store.js | 2 +- ayanova/src/views/adm-user.vue | 2 +- ayanova/src/views/cust-user.vue | 2 +- .../views/customer-notify-subscription.vue | 541 +++++++++++------- ayanova/src/views/home-user-settings.vue | 8 +- 6 files changed, 354 insertions(+), 215 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 40e64c69..79dbda31 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -29,8 +29,9 @@ How to implement auto notifications if can report and send from server Add customer tags to match to send auto subscription Add optional report to appropriate subscriptions add text message, has templates like v7 did - Also in that same form be able to set the impersonation values like what time zone, what currency symbol what language id if not server default whatever is needed for reporting - defaults to local current user's settings, language setting etc and saves them + Also in that same form be able to set the impersonation values that are *actually* used by the report code: + CurrencyName, LanguageName, TimeZoneName, hour12, translationid + defaults to local current user's settings, language setting etc and saves them MUST HAVE feature click a button to see which current customers this would send to based on tags!!! ideally it would display in the form live as any changes are made and if the customer has no email it would highl8ight that somehow NICE TO HAVE FEATURE would also be available backwards from the Customer to view a list of things they will be notified about based on their tags and subscriptions set up @@ -48,7 +49,14 @@ How to implement auto notifications if can report and send from server Quote status changed (attach quote report), work order status changed (attach wo report) , wo follow up x days after closed (no report) Set file name of attached report, maybe user can template that? Or use biz object name file friendly morphed -CASES + + +OTHER B4BETA + +test user color in home user and in adm-user with new record and exsiting just to confirm it's ok +cases + + # OUTSTANDING BEFORE RELEASE diff --git a/ayanova/src/store.js b/ayanova/src/store.js index 8d5a6caf..205a252f 100644 --- a/ayanova/src/store.js +++ b/ayanova/src/store.js @@ -38,7 +38,7 @@ export default new Vuex.Store({ timeZoneOverride: null, //use browser tz by default currencyName: "USD", hour12: true, - // uiColor: "#000000", + uiColor: "#000000", emailAddress: null, mapUrlTemplate: null }, diff --git a/ayanova/src/views/adm-user.vue b/ayanova/src/views/adm-user.vue index a330510a..81397fff 100644 --- a/ayanova/src/views/adm-user.vue +++ b/ayanova/src/views/adm-user.vue @@ -441,7 +441,7 @@ export default { phone2: null, phone3: null, mapUrlTemplate: null, - // uiColor: "#000000", + uiColor: "#000000", languageOverride: null, timeZoneOverride: null, currencyName: "USD", diff --git a/ayanova/src/views/cust-user.vue b/ayanova/src/views/cust-user.vue index 5265abab..42cfe77e 100644 --- a/ayanova/src/views/cust-user.vue +++ b/ayanova/src/views/cust-user.vue @@ -429,7 +429,7 @@ export default { phone2: null, phone3: null, mapUrlTemplate: null, - // uiColor: "#000000", + //uiColor: "#000000", languageOverride: null, timeZoneOverride: null, currencyName: "USD", diff --git a/ayanova/src/views/customer-notify-subscription.vue b/ayanova/src/views/customer-notify-subscription.vue index c5ae92a3..d93d662d 100644 --- a/ayanova/src/views/customer-notify-subscription.vue +++ b/ayanova/src/views/customer-notify-subscription.vue @@ -3,217 +3,335 @@ - - - - - - - - - - - + + + + - - - - - - - - - - + + + - - - + + + - - - + + + - - - + + + - - - - - - - + + + + + + + - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -238,6 +356,11 @@ export default { obj: { id: 0, concurrency: 0, + languageOverride: null, + timeZoneOverride: null, + currencyName: "USD", + hour12: true, + translationId: 1, ayaType: 0, eventType: 0, advanceNotice: "00:00:00", @@ -258,7 +381,8 @@ export default { serverError: {} }, rights: window.$gz.role.defaultRightsObject(), - ayaType: window.$gz.type.CustomerNotifySubscription + ayaType: window.$gz.type.CustomerNotifySubscription, + tab: 0 }; }, computed: { @@ -704,7 +828,14 @@ async function fetchTranslatedText() { "Total", "UiFieldDataTypesInteger", "QuoteQuoteStatusType", - "AttachReport" + "AttachReport", + "NotificationSettings", + "NotifyEventType", + "CurrencyCode", + "LanguageCode", + "TimeZone", + "Hour12", + "Translation" ]); } diff --git a/ayanova/src/views/home-user-settings.vue b/ayanova/src/views/home-user-settings.vue index e297f851..86e7cdbe 100644 --- a/ayanova/src/views/home-user-settings.vue +++ b/ayanova/src/views/home-user-settings.vue @@ -173,21 +173,20 @@ > - + @@ -216,6 +215,7 @@ export default { phone2: null, phone3: null, mapUrlTemplate: null, + uiColor: "#000000", languageOverride: null, timeZoneOverride: null, currencyName: null,