~singpolyma/sgx-jmp

bb83156b4ec500154f0f6d101160f2cea5fe02c9 — Stephen Paul Weber 7 months ago 75919c9
Switch to new plans
3 files changed, 7 insertions(+), 5 deletions(-)

M forms/migrate_billing.rb
M forms/registration/plan_name.rb
M lib/trust_level.rb
M forms/migrate_billing.rb => forms/migrate_billing.rb +2 -2
@@ 35,11 35,11 @@ field(
	required: true,
	options: [
		{
			value: "cad_beta_unlimited-v20210223",
			value: "CAD",
			label: "Canadian Dollars"
		},
		{
			value: "usd_beta_unlimited-v20210223",
			value: "USD",
			label: "United States Dollars"
		}
	]

M forms/registration/plan_name.rb => forms/registration/plan_name.rb +2 -2
@@ 5,11 5,11 @@ field(
	required: true,
	options: [
		{
			value: "cad_beta_unlimited-v20210223",
			value: "CAD",
			label: "Canadian Dollars"
		},
		{
			value: "usd_beta_unlimited-v20210223",
			value: "USD",
			label: "United States Dollars"
		}
	]

M lib/trust_level.rb => lib/trust_level.rb +3 -1
@@ 126,7 126,9 @@ module TrustLevel

		EXPENSIVE_ROUTE = {
			"usd_beta_unlimited-v20210223" => 0.9,
			"cad_beta_unlimited-v20210223" => 1.1
			"USD" => 0.9,
			"cad_beta_unlimited-v20210223" => 1.1,
			"CAD" => 1.1
		}.freeze

		def initialize(plan_name)