Files
e-ticket/templates/email/organizer_rejected.html.twig
Serreau Jovann 100ff96c70 Add SIRET/RNA verification, organizer management, registration flow pages
SIRET/RNA verification:
- Create SiretService with API gouv lookup + JOAFE RNA lookup + cache pool (24h)
- Verification page: declared info vs API data side by side
- Display NAF code + label (from naf.json), nature juridique code + label
- Association/Entreprise/EI badges, ESS badge, RNA, coordonnees lat/long
- JOAFE section: objet, regime, domaine, dates, lieu, PDF download link
- Tranche effectif with readable labels
- Refresh cache button
- Page restricted to non-approved organizers only

Organizer approval flow:
- Approval form with offer (free/basic/custom) and commission rate (default 3%)
- Add commissionRate field to User entity + migration
- Rejection form with required reason textarea, sent in email
- Edit page for approved organizers: all fields modifiable
- Modify button in approved organizers table

Registration flow pages:
- Post-registration success page with email verification message
- Organizer gets additional 48h staff review notice
- Post-email-verification page: confirmed for buyers, 48h notice for organizers

Dashboard:
- Simplified Meilisearch sync to single button

Tests: SiretServiceTest (9), AdminControllerTest (31), RegistrationControllerTest updated, UserTest updated

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 20:25:04 +01:00

19 lines
936 B
Twig

{% extends 'email/base.html.twig' %}
{% block title %}Votre demande de compte organisateur a ete refusee{% endblock %}
{% block content %}
<h2>Bonjour {{ firstName }},</h2>
<p>Nous avons examine votre demande de compte organisateur et malheureusement, celle-ci a ete <strong>refusee</strong>.</p>
{% if reason is defined and reason %}
<div style="background:#f4f4f5;border-left:4px solid #dc2626;padding:12px 16px;margin:16px 0;">
<p style="font-weight:700;font-size:13px;color:#991b1b;margin:0 0 4px;">Motif du refus :</p>
<p style="margin:0;font-size:14px;color:#3f3f46;">{{ reason }}</p>
</div>
{% endif %}
<p>Si vous pensez qu'il s'agit d'une erreur ou si vous souhaitez obtenir plus d'informations, n'hesitez pas a nous contacter.</p>
<p style="text-align:center;margin:32px 0;">
<a href="mailto:contact@e-cosplay.fr" class="btn">Nous contacter</a>
</p>
{% endblock %}