From e8657b37bd4bc2d5c4f0c7bbb2185f38ab8fa2cf Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 24 Aug 2021 00:06:05 +0000 Subject: [PATCH] --- ayanova/src/views/home-notifications.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ayanova/src/views/home-notifications.vue b/ayanova/src/views/home-notifications.vue index 7c05925c..1c0438ed 100644 --- a/ayanova/src/views/home-notifications.vue +++ b/ayanova/src/views/home-notifications.vue @@ -213,13 +213,17 @@ export default { ); if (temp[i].decValue != null && temp[i].decValue != 0) { - //Note that initially we only haev "The Andy" WorkorderTotalExceedsThreshold = 23 to display a decValue - //but if another comes can disambiuguate them here by event type and display currency or decimal as necessary - temp[i].decValueViz = window.$gz.locale.currencyLocalized( - temp[i].decValue, - languageName, - currencyName - ); + if (temp[i].eventType == 23) { + //the "andy", dollars + temp[i].decValueViz = window.$gz.locale.currencyLocalized( + temp[i].decValue, + languageName, + currencyName + ); + } else { + //it's for now only a meter reading so just keep as a straight up number + temp[i].decValueViz = temp[i].decValue.toString(); + } } else { temp[i].decValueViz = ""; }