FEATURE: Add SGD as supported currency (#60)

Add additional currency Singapore dollars as supported Stripe currency
This commit is contained in:
chalkadmin
2021-04-13 12:20:00 +02:00
committed by GitHub
parent 312b1182b9
commit 1ae5a552a6
4 changed files with 8 additions and 0 deletions
@@ -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 = "$";
}