FEATURE: Add DKK as supported currency
This commit is contained in:
parent
f1dd035ec1
commit
312b1182b9
|
@ -47,6 +47,8 @@ module DiscourseSubscriptions
|
|||
"₹"
|
||||
when "brl"
|
||||
"R$"
|
||||
when "dkk"
|
||||
"KR"
|
||||
else
|
||||
"$"
|
||||
end
|
||||
|
|
|
@ -37,6 +37,7 @@ export default Controller.extend({
|
|||
{ id: "USD", name: "USD" },
|
||||
{ id: "INR", name: "INR" },
|
||||
{ id: "BRL", name: "BRL" },
|
||||
{ id: "DKK", name: "DKK" },
|
||||
];
|
||||
},
|
||||
|
||||
|
|
|
@ -20,6 +20,10 @@ export default Helper.helper(function (params) {
|
|||
case "brl":
|
||||
currencySign = "R$";
|
||||
break;
|
||||
case "DKK":
|
||||
case "dkk":
|
||||
currencySign = "DKK";
|
||||
break;
|
||||
default:
|
||||
currencySign = "$";
|
||||
}
|
||||
|
|
|
@ -26,3 +26,4 @@ plugins:
|
|||
- INR
|
||||
- NZD
|
||||
- USD
|
||||
- DKK
|
||||
|
|
Loading…
Reference in New Issue