FEATURE: Add SGD as supported currency (#60)
Add additional currency Singapore dollars as supported Stripe currency
This commit is contained in:
parent
312b1182b9
commit
1ae5a552a6
|
@ -49,6 +49,8 @@ module DiscourseSubscriptions
|
|||
"R$"
|
||||
when "dkk"
|
||||
"KR"
|
||||
when "sgd"
|
||||
"S$"
|
||||
else
|
||||
"$"
|
||||
end
|
||||
|
|
|
@ -38,6 +38,7 @@ export default Controller.extend({
|
|||
{ id: "INR", name: "INR" },
|
||||
{ id: "BRL", name: "BRL" },
|
||||
{ id: "DKK", name: "DKK" },
|
||||
{ id: "SGD", name: "SGD" },
|
||||
];
|
||||
},
|
||||
|
||||
|
|
|
@ -24,6 +24,10 @@ export default Helper.helper(function (params) {
|
|||
case "dkk":
|
||||
currencySign = "DKK";
|
||||
break;
|
||||
case "SGD":
|
||||
case "sgd":
|
||||
currencySign = "S$";
|
||||
break;
|
||||
default:
|
||||
currencySign = "$";
|
||||
}
|
||||
|
|
|
@ -27,3 +27,4 @@ plugins:
|
|||
- NZD
|
||||
- USD
|
||||
- DKK
|
||||
- SGD
|
||||
|
|
Loading…
Reference in New Issue