<% content_for :title, t("team.billing.title", name: @team.name) %> <% content_for :robots, "noindex, nofollow" %>

<%= t("billing.heading") %>

<%= t("team.billing.team_label") %> <%= @team.name %> · <%= t("team.billing.current_plan_label") %> <%= @entitlements.plan.name %>

<% @plans.each do |plan| %>
<%= render "shared/plan_title", plan: plan %> <% if plan.slug == "free" %>
€0
<% elsif plan.slug == "premium_light" %>
<%= Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "yearly") %>

<%= raw t("pages.plans.price_alt_html", price: Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "monthly")) %>

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

<%= raw t("pages.plans.price_alt_html", price: Billing::Stripe::PriceCatalog.label(plan_slug: plan.slug, interval: "monthly")) %>

<% end %>
  • <%= t("team.billing.staff_line", count: plan.max_staff_transmission || t("pages.plans.staff_unlimited")) %>
  • <%= t("team.billing.matches_line", count: plan.concurrent_streams_limit || t("pages.plans.matches_unlimited")) %>
  • <%= t("team.billing.replay_line", value: plan.recordings_enabled? ? t("team.billing.replay_days", count: plan.recording_days) : t("team.billing.replay_none")) %>
  • <%= t("team.billing.youtube_line", value: if plan.slug == "premium_light" then t("team.billing.youtube_mltv") elsif plan.youtube_enabled? then t("team.billing.youtube_club") else t("team.billing.youtube_none") end) %>
<% if plan.slug == @entitlements.plan.slug %> <%= t("team.billing.current_plan") %> <% elsif plan.slug == "free" %> <% elsif MatchLiveTv.stripe_enabled? %> <%= link_to t("team.billing.manage_club_subscription"), public_club_billing_path(@team.club), class: "btn btn-primary" %> <% else %>

<%= t("team.billing.stripe_not_configured") %>

<% end %>
<% end %>

<%= t("team.billing.contact_lead") %> <%= mail_to "info@matchlivetv.it", t("team.billing.contact_cta") %> <%= t("team.billing.contact_trailer") %>

<%= link_to t("team.billing.club_payments_link"), public_club_billing_path(@team.club) %>

<%= link_to t("team.back_to_details"), public_team_details_path(@team) %>