Premium Full senza canale società usa il canale piattaforma come Light; in app restano solo Match Live TV e YouTube Live. Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
<h2>Società e squadre</h2>
|
|
<p style="color:#888;margin-bottom:16px">
|
|
Abbonamenti omaggio (sponsor / promozioni) e stato YouTube per squadra.
|
|
Pagamenti Stripe: <%= link_to "Fatturazione", admin_billing_path %>.
|
|
</p>
|
|
|
|
<table class="admin-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Società</th>
|
|
<th>Piano</th>
|
|
<th>Squadre</th>
|
|
<th>Omaggio</th>
|
|
<th>Stripe</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @clubs.each do |club| %>
|
|
<% sub = club.subscription %>
|
|
<tr>
|
|
<td><strong><%= club.name %></strong></td>
|
|
<td><%= sub&.plan&.name || "Free" %></td>
|
|
<td><%= club.teams.size %></td>
|
|
<td>
|
|
<% if sub&.admin_comped? %>
|
|
<span style="color:#ffb74d">Sì</span>
|
|
<% if sub.admin_comped_reason.present? %> · <%= sub.admin_comped_reason %><% end %>
|
|
<% else %>
|
|
—
|
|
<% end %>
|
|
</td>
|
|
<td><%= sub&.stripe_subscription_id.present? ? "Sì" : "—" %></td>
|
|
<td>
|
|
<%= link_to "Gestisci", admin_club_path(club) %>
|
|
· <%= link_to "Fatture", admin_billing_path(club_id: club.id) %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|