From 0db453db75cb21f41e8ce9b00793696761d3e074 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 19 Feb 2021 01:30:29 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 13 ++ ayanova/src/api/locale.js | 2 +- ayanova/src/views/inv-purchase-order.vue | 163 ++++++++++++++--------- 3 files changed, 113 insertions(+), 65 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 1cf5f351..8c346807 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -8,6 +8,19 @@ MISC ITEMS THAT CAME UP ## CLIENT MISC ITEMS +todo: inconsistent use of browser language and browser languages + getBrowserLanguages() <--- more often used vs getBrowserFirstLanguage() <-- fewer times used + some things are using the default first language + and some are using the entire array + In some cases array will work, in others it requires single + need to check into this and be consistent or understand what's happening + I'm guessing we favor languages as it seems to be accepted by whatever is using it and it will work better if the first one is unsupported + +todo: locale.js look into this: + // also for sake of future proofing and edge cases need to have it be manually settable as well + // ############### TODO: modify all of these to put the user's manual override first in line (if there is one) + + todo: when have po, can po serial number be set by user and accepted by postgres? I think it can with the definition I have set up. this would be useful for scenarios like 4alarm with the oddball po and other auto generated id numbers diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index 481f0134..f0873ed3 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -1,7 +1,7 @@ /* ZZeslint-disable */ //Browser Locale conversion utilities -import { faYinYang } from "@fortawesome/free-solid-svg-icons"; +// import { faYinYang } from "@fortawesome/free-solid-svg-icons"; //dates,numbers currency etc export default { diff --git a/ayanova/src/views/inv-purchase-order.vue b/ayanova/src/views/inv-purchase-order.vue index d8ace26d..70c97e3c 100644 --- a/ayanova/src/views/inv-purchase-order.vue +++ b/ayanova/src/views/inv-purchase-order.vue @@ -220,7 +220,7 @@ auto-grow > - {{ obj.items }} +