refactor(pricing): implement hybrid fee model (€0.50 + 1.5%) deducted from promoter payout

- Remove 1€ fixed fee from orders and Stripe invoices
- Add platform_fee_cents, promoter_payout_cents methods to Order model
- Update views to show clean ticket totals without added fees
- Update tests for new fee calculation logic
- Update pricing docs with implemented model
This commit is contained in:
kbe
2025-09-15 20:07:51 +02:00
parent d6184b6c84
commit 049e5505ef
9 changed files with 205 additions and 108 deletions

View File

@@ -119,12 +119,6 @@
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 text-right"><%= "%.2f" % (tickets.count * ticket_type.price_cents / 100.0) %>€</td>
</tr>
<% end %>
<tr>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Frais de service</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 text-right">1</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500 text-right">1.00€</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 text-right">1.00€</td>
</tr>
</tbody>
<tfoot class="bg-gray-50">
<tr>