FEATURE: add ZAR currency support (#199)
This commit is contained in:
parent
8f1b332f9e
commit
d63f241e0d
|
@ -51,6 +51,8 @@ module DiscourseSubscriptions
|
|||
"KR"
|
||||
when "sgd"
|
||||
"S$"
|
||||
when "zar"
|
||||
"R"
|
||||
else
|
||||
"$"
|
||||
end
|
||||
|
|
|
@ -41,6 +41,7 @@ export default Controller.extend({
|
|||
{ id: "DKK", name: "DKK" },
|
||||
{ id: "SGD", name: "SGD" },
|
||||
{ id: "JPY", name: "JPY" },
|
||||
{ id: "ZAR", name: "ZAR" },
|
||||
];
|
||||
},
|
||||
|
||||
|
|
|
@ -28,6 +28,10 @@ export default Helper.helper(function (params) {
|
|||
case "sgd":
|
||||
currencySign = "S$";
|
||||
break;
|
||||
case "ZAR":
|
||||
case "zar":
|
||||
currencySign = "R";
|
||||
break;
|
||||
default:
|
||||
currencySign = "$";
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ discourse_subscriptions:
|
|||
- USD
|
||||
- DKK
|
||||
- SGD
|
||||
- ZAR
|
||||
discourse_subscriptions_campaign_enabled:
|
||||
client: true
|
||||
default: false
|
||||
|
|
Loading…
Reference in New Issue