FEATURE: Add DKK as supported currency

This commit is contained in:
Brian Bønk 2021-04-06 16:59:27 +02:00 committed by GitHub
parent f1dd035ec1
commit 312b1182b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,8 @@ module DiscourseSubscriptions
""
when "brl"
"R$"
when "dkk"
"KR"
else
"$"
end

View File

@ -37,6 +37,7 @@ export default Controller.extend({
{ id: "USD", name: "USD" },
{ id: "INR", name: "INR" },
{ id: "BRL", name: "BRL" },
{ id: "DKK", name: "DKK" },
];
},

View File

@ -20,6 +20,10 @@ export default Helper.helper(function (params) {
case "brl":
currencySign = "R$";
break;
case "DKK":
case "dkk":
currencySign = "DKK";
break;
default:
currencySign = "$";
}

View File

@ -26,3 +26,4 @@ plugins:
- INR
- NZD
- USD
- DKK