Completa i18n IT/EN/FR/DE/ES su sito pubblico, area autenticata e admin.
Tutte le view marketing, legali, viewer, dashboard e admin usano t(); mailer utente-facing e flash localizzati; admin con LocaleResolver e selettore lingua. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,33 +1,33 @@
|
||||
<%# locals: (club:, payments:) %>
|
||||
<section class="billing-documents" style="margin-top:40px">
|
||||
<h2>Pagamenti e fatture</h2>
|
||||
<h2><%= t("billing.documents.heading") %></h2>
|
||||
<p style="color:#888;font-size:0.9rem">
|
||||
Storico dei pagamenti della società e relative fatture emesse da Match Live TV.
|
||||
<%= t("billing.documents.lead") %>
|
||||
</p>
|
||||
|
||||
<% unless club.billing_profile_complete? %>
|
||||
<div class="flash alert" style="margin:16px 0">
|
||||
<strong>Dati di fatturazione incompleti.</strong>
|
||||
Compila ragione sociale, indirizzo, P.IVA/CF e SDI o PEC per ricevere le fatture via email.
|
||||
<%= link_to "Completa ora", public_club_billing_profile_path(club), class: "btn btn-secondary", style: "margin-top:10px;display:inline-block" %>
|
||||
<strong><%= t("billing.documents.incomplete_title") %></strong>
|
||||
<%= t("billing.documents.incomplete_body") %>
|
||||
<%= link_to t("billing.documents.complete_now"), public_club_billing_profile_path(club), class: "btn btn-secondary", style: "margin-top:10px;display:inline-block" %>
|
||||
</div>
|
||||
<% else %>
|
||||
<p style="color:#888;font-size:0.88rem">
|
||||
Intestatario: <%= club.billing_profile_summary %>
|
||||
· <%= link_to "Modifica dati", public_club_billing_profile_path(club) %>
|
||||
<%= t("billing.documents.holder_label", summary: club.billing_profile_summary) %>
|
||||
· <%= link_to t("billing.documents.edit_data"), public_club_billing_profile_path(club) %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<h3 style="margin-top:28px;font-size:1.1rem">Pagamenti e fatture</h3>
|
||||
<h3 style="margin-top:28px;font-size:1.1rem"><%= t("billing.documents.table_heading") %></h3>
|
||||
<% if payments.any? %>
|
||||
<table class="data billing-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
<th>Descrizione</th>
|
||||
<th>Importo</th>
|
||||
<th>Stato pagamento</th>
|
||||
<th>Fattura</th>
|
||||
<th><%= t("billing.documents.col_date") %></th>
|
||||
<th><%= t("billing.documents.col_description") %></th>
|
||||
<th><%= t("billing.documents.col_amount") %></th>
|
||||
<th><%= t("billing.documents.col_status") %></th>
|
||||
<th><%= t("billing.documents.col_invoice") %></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -49,9 +49,9 @@
|
||||
</td>
|
||||
<td>
|
||||
<% if inv&.downloadable? %>
|
||||
<%= link_to "Scarica PDF", public_club_billing_invoice_path(club, inv) %>
|
||||
<%= link_to t("billing.documents.download_pdf"), public_club_billing_invoice_path(club, inv) %>
|
||||
<% elsif inv&.draft? %>
|
||||
<span style="color:#888">PDF in preparazione</span>
|
||||
<span style="color:#888"><%= t("billing.documents.pdf_preparing") %></span>
|
||||
<% else %>
|
||||
<span style="color:#888">—</span>
|
||||
<% end %>
|
||||
@@ -61,6 +61,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<% else %>
|
||||
<p style="color:#888">Nessun pagamento registrato. Dopo un abbonamento premium comparirà qui.</p>
|
||||
<p style="color:#888"><%= t("billing.documents.no_payments") %></p>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user