refactor: prepare for free ticket

This commit is contained in:
kbe
2025-09-16 16:36:39 +02:00
parent b228d5a174
commit 9c56b2e1e5
15 changed files with 96 additions and 17 deletions

View File

@@ -80,7 +80,7 @@
<div>
<label class="block text-sm font-medium text-gray-500 mb-1">Prix</label>
<p class="text-xl font-bold text-gray-900">
<%= number_to_currency(@ticket.price_euros, unit: "€", separator: ",", delimiter: " ", format: "%n %u") %>
<%= format_ticket_price(@ticket.price_cents) %>
</p>
</div>
</div>