FEATURE: Add SGD as supported currency (#60)

FEATURE: Add SGD as supported currency (#60)

Add additional currency Singapore dollars as supported Stripe currency

diff --git a/app/serializers/discourse_subscriptions/payment_serializer.rb b/app/serializers/discourse_subscriptions/payment_serializer.rb
index c3a4ffd..8f6ee15 100644
--- a/app/serializers/discourse_subscriptions/payment_serializer.rb
+++ b/app/serializers/discourse_subscriptions/payment_serializer.rb
@@ -49,6 +49,8 @@ module DiscourseSubscriptions
         "R$"
       when "dkk"
         "KR"
+      when "sgd"
+        "S$"
       else
         "$"
       end
diff --git a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6
index 5abf7e2..251a367 100644
--- a/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6
+++ b/assets/javascripts/discourse/controllers/admin-plugins-discourse-subscriptions-products-show-plans-show.js.es6
@@ -38,6 +38,7 @@ export default Controller.extend({
       { id: "INR", name: "INR" },
       { id: "BRL", name: "BRL" },
       { id: "DKK", name: "DKK" },
+      { id: "SGD", name: "SGD" },
     ];
   },
 
diff --git a/assets/javascripts/discourse/helpers/format-currency.js.es6 b/assets/javascripts/discourse/helpers/format-currency.js.es6
index 59c9be8..46576e3 100644
--- a/assets/javascripts/discourse/helpers/format-currency.js.es6
+++ b/assets/javascripts/discourse/helpers/format-currency.js.es6
@@ -24,6 +24,10 @@ export default Helper.helper(function (params) {
     case "dkk":
       currencySign = "DKK";
       break;
+    case "SGD":
+    case "sgd":
+      currencySign = "S$";
+      break;
     default:
       currencySign = "$";
   }
diff --git a/config/settings.yml b/config/settings.yml
index d63c31a..227c071 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -27,3 +27,4 @@ plugins:
       - NZD
       - USD
       - DKK
+      - SGD

GitHub sha: 1ae5a552

This commit appears in #60 which was approved by CvX. It was merged by CvX.