diff --git a/backend/app/services/billing/stripe/price_catalog.rb b/backend/app/services/billing/stripe/price_catalog.rb index 8ab48a2..bb91ec9 100644 --- a/backend/app/services/billing/stripe/price_catalog.rb +++ b/backend/app/services/billing/stripe/price_catalog.rb @@ -5,8 +5,8 @@ module Billing DEFAULT_INTERVAL = "yearly" PRICING = { - "premium_light" => { "yearly" => "€39,90/anno", "monthly" => "€4,90/mese" }, - "premium_full" => { "yearly" => "€69,90/anno", "monthly" => "€9,90/mese" } + "premium_light" => { "yearly" => "€40/anno", "monthly" => "€5/mese" }, + "premium_full" => { "yearly" => "€200/anno", "monthly" => "€20/mese" } }.freeze class << self diff --git a/backend/app/views/public/teams/billing.html.erb b/backend/app/views/public/teams/billing.html.erb index f359e33..71c7d0b 100644 --- a/backend/app/views/public/teams/billing.html.erb +++ b/backend/app/views/public/teams/billing.html.erb @@ -12,11 +12,11 @@ <% if plan.slug == "free" %>
€0
<% elsif plan.slug == "premium_light" %> -
€40/anno
-

oppure €5/mese

+
<%= Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "yearly") %>
+

oppure <%= Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "monthly") %>

<% else %> -
€200/anno
-

oppure €20/mese

+
<%= Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "yearly") %>
+

oppure <%= Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "monthly") %>

<% end %>