From 6effcda8b6df8c9b3001fd4e1590d20ae6fd430a Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 24 Nov 2020 17:54:50 +0000 Subject: [PATCH] --- ayanova/src/api/locale.js | 10 ++++++++++ ayanova/src/views/cust-customer-note.vue | 17 ++++++++++------- ayanova/src/views/cust-customer-notes.vue | 12 ++++++++++-- ayanova/src/views/cust-customer.vue | 3 +-- 4 files changed, 31 insertions(+), 11 deletions(-) diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index 3ff2c099..5856dbb1 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -178,6 +178,16 @@ export default { .toISO(); //output as ISO 8601 }, /////////////////////////////////////////////// + // UTC Now in api format + // to UTC and output as ISO 8601 + // (used to set defaults) + // + nowUTC8601String() { + return window.$gz.DateTime.local() + .toUTC() + .toString(); + }, + /////////////////////////////////////////////// // Convert a utc date to local time zone // and return date only portion only in iso 8601 // format (used by time and date picker components) diff --git a/ayanova/src/views/cust-customer-note.vue b/ayanova/src/views/cust-customer-note.vue index 553405f0..bf34da4e 100644 --- a/ayanova/src/views/cust-customer-note.vue +++ b/ayanova/src/views/cust-customer-note.vue @@ -6,8 +6,10 @@ - - + + {{ customername }} + + - + diff --git a/ayanova/src/views/cust-customer-notes.vue b/ayanova/src/views/cust-customer-notes.vue index c91855d7..37dc1eaf 100644 --- a/ayanova/src/views/cust-customer-notes.vue +++ b/ayanova/src/views/cust-customer-notes.vue @@ -7,6 +7,9 @@ ref="extensions" > + + {{ customername }} +