refactor: migrate payment success views to orders system and add promoter seed data
All checks were successful
Ruby on Rails Test / rails-test (push) Successful in 1m48s

This commit is contained in:
kbe
2025-09-16 21:32:42 +02:00
parent 3e0a354a58
commit e5ed1a34dd
6 changed files with 81 additions and 304 deletions

View File

@@ -96,7 +96,7 @@
<!-- Total -->
<div class="border-t border-gray-200 pt-6 mt-6">
<div class="flex items-center justify-between text-lg pt-2 border-t border-gray-200">
<div class="flex items-center justify-between text-lg pt-2">
<span class="font-medium text-gray-900">Total <%= @order.status == 'paid' || @order.status == 'completed' ? 'payé' : 'à payer' %></span>
<span class="font-bold text-2xl <%= @order.status == 'paid' || @order.status == 'completed' ? 'text-green-600' : 'text-purple-600' %>">
<%= @order.total_amount_euros %>€
@@ -212,4 +212,4 @@
</div>
</div>
</div>
</div>
</div>