(core) Currency from grist column is persistent when exporting to excel

Summary:
- when grist table is exported, currency is check and introduced in cell format in the form of "[currency symbol] [value]" (for example: zł 10000, $ 5000) . It's not what some cultures should display currences, but it's close enought
- when no symbol is defined for the currency, currency 3 letters code is used instead
- when currency is unknown, we are falling back to "$"

Test Plan: - nbrowser test scenario added for that purpose, please check Currences.xlsx to see output format exported.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3886
This commit is contained in:
Jakub Serafin
2023-05-05 11:34:12 +02:00
parent 8f34ba5157
commit 37347a79c0
5 changed files with 15 additions and 2 deletions

View File

@@ -130,6 +130,7 @@
"cookie": "0.5.0",
"cookie-parser": "1.4.3",
"csv": "4.0.0",
"currency-symbol-map": "5.1.0",
"diff-match-patch": "1.0.5",
"dompurify": "3.0.0",
"double-ended-queue": "2.1.0-0",