Riduce il rischio percepito all'acquisto (Light e Full) e chiama l'archivio replay in modo orientato all'utente, senza cambiare prezzi o logica dei piani. Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
2.1 KiB
ERB
43 lines
2.1 KiB
ERB
<% content_for :title, t("club.billing.title", name: @club.name) %>
|
|
<% content_for :robots, "noindex, nofollow" %>
|
|
|
|
<div class="wrap" style="padding-top:20px">
|
|
<h1><%= t("billing.heading") %></h1>
|
|
<%= render "shared/club_subscription_status", club: @club, entitlements: @entitlements, subscription: @subscription, on_billing_page: true %>
|
|
|
|
<% if @subscription&.admin_comped? %>
|
|
<div class="card" style="margin-top:16px;border-color:#3d3520;background:#1a1810">
|
|
<p style="margin:0;color:#ddd">
|
|
<strong><%= t("club.billing.comped.title") %></strong>
|
|
<%= t("club.billing.comped.plan_prefix") %> <strong><%= @subscription.plan.name %></strong>
|
|
<% if @subscription.admin_comped_reason.present? %>
|
|
(<%= @subscription.admin_comped_reason %>)
|
|
<% end %>.
|
|
<%= raw t("club.billing.comped.no_payment_html", email_link: mail_to("info@matchlivetv.it", "info@matchlivetv.it")) %>
|
|
</p>
|
|
</div>
|
|
<% else %>
|
|
<% if @quote %>
|
|
<%= render "shared/quoted_price_banner", quote: @quote, subscription: @subscription %>
|
|
<% elsif MatchLiveTv.stripe_enabled? %>
|
|
<%= render "shared/stripe_secure_payment" %>
|
|
<% if @subscription.blank? || @subscription.plan&.slug == "free" || !@subscription.active? %>
|
|
<%= render "shared/refund_guarantee", variant: "checkout" %>
|
|
<% end %>
|
|
<% end %>
|
|
<%= render "shared/pending_bank_transfer", order: @pending_transfer %>
|
|
<% if MatchLiveTv.stripe_enabled? && @quote.blank? %>
|
|
<%= render "shared/plan_change_info", subscription: @subscription %>
|
|
<% end %>
|
|
<%= render "shared/plan_cards", show_stripe_portal: false %>
|
|
<% if @subscription&.bank_transfer? %>
|
|
<p class="muted" style="margin-top:16px"><%= raw t("billing.bank_transfer.renewal_html") %></p>
|
|
<% end %>
|
|
<%= render "shared/subscription_cancel", club: @club, subscription: @subscription %>
|
|
<% end %>
|
|
|
|
<%= render "shared/billing_documents", club: @club, payments: @payments %>
|
|
|
|
<p style="margin-top:24px"><%= link_to t("club.back_to_club"), public_club_path(@club) %></p>
|
|
</div>
|