{% extends 'base_admin.html.twig' %} {% block title %}Détail de la manifestation{% endblock %} {% block body %}

Détail de la manifestation

Informations générales

{% if manifestation.banner %}

Affiche :
{{ manifestation.title }}

{% endif %}

Titre :
{{ manifestation.title }}

Dates :
{{ manifestation.startDate|date('d/m/Y') }} → {{ manifestation.endDate|date('d/m/Y') }}

Inscriptions :
{{ manifestation.registrationStart ? manifestation.registrationStart|date('d/m/Y') : '—' }} → {{ manifestation.registrationEnd ? manifestation.registrationEnd|date('d/m/Y') : '—' }}

Statuts :
{% if manifestation.isPublished %}{{ icon('valid', true) }} Publiée{% else %}{{ icon('invalid', true) }} Brouillon{% endif %} {% if manifestation.isPaid %} | Payante{% endif %} {% if manifestation.isTemplate %} | Modèle{% endif %}

Description

Modifier

{{ manifestation.description|default('Aucune description.') }}

Documents publics

Ajouter un document
{% if manifestation.manifestationPublicDocuments|length > 0 %}
    {% for doc in manifestation.manifestationPublicDocuments %}
  • {% if doc.mimeType starts with 'image/' %} {{ doc.name }} {% elseif doc.mimeType == 'application/pdf' %} PDF {% else %} Fichier {% endif %}
    {{ doc.name }}
    {{ doc.mimeType }}
    {% if doc.IncludeInSummaryEmail %} Inclus dans l'email de résumé {% endif %} {% if not doc.isVisible %}
    Non visible
    {% endif %} {% if not doc.isDownloadable %}
    Non téléchargeable
    {% endif %}
    Voir Éditer
  • {% endfor %}
{% else %}

Aucun document public pour cette manifestation.

{% endif %}

Demande de matériels

Nouvelle demande
{% if manifestation.manifestationMaterialRequests|length > 0 %} {% for request in manifestation.manifestationMaterialRequests %}

{{ request.representant }}

📧 {{ request.mail }}
📞 {{ request.telephone }}
📅 Retour prévu le {{ request.dateRetour|date('d/m/Y') }}


Matériel demandé :

    {% if request.nbTables %}
  • 🪑 Tables : {{ request.nbTables }}
  • {% endif %} {% if request.nbBancs %}
  • 🪑 Bancs : {{ request.nbBancs }}
  • {% endif %} {% if request.nbChaises %}
  • 🪑 Chaises : {{ request.nbChaises }}
  • {% endif %} {% if request.nbBarrieres %}
  • 🚧 Barrières : {{ request.nbBarrieres }}
  • {% endif %} {% if request.nbGrilles %}
  • 🪜 Grilles : {{ request.nbGrilles }}
  • {% endif %} {% if request.nbPodiums %}
  • 🎤 Podiums : {{ request.nbPodiums }}
  • {% endif %} {% if request.nbPraticables %}
  • 🧱 Praticables : {{ request.nbPraticables }}
  • {% endif %} {% if request.nbPodiumRoulants %}
  • 🚚 Podiums Roulants : {{ request.nbPodiumRoulants }}
  • {% endif %} {% if request.nbLogetteElectriqueMobile %}
  • 🔌 Logette électrique : {{ request.nbLogetteElectriqueMobile }}
  • {% endif %} {% if request.nbRalonge %}
  • 🧵 Rallonges 32A : {{ request.nbRalonge }}
  • {% endif %} {% if request.nbUrnes %}
  • 🗳 Urnes : {{ request.nbUrnes }}
  • {% endif %} {% if request.nbIsoloirs %}
  • 🛖 Isoloirs : {{ request.nbIsoloirs }}
  • {% endif %}
{% if request.sentToTownhall %}
✅ Cette demande a déjà été envoyée à la mairie.
👉 Si vous souhaitez transmettre une nouvelle demande, merci d’en créer une nouvelle.
{% else %}

❌ Demande non envoyée à la mairie

{% endif %}
🧾 Voir le PDF {% if not request.sentToTownhall %} Éditer
{% endif %}
{% endfor %} {% else %}

Aucune demande de matériel enregistrée.

{% endif %}

Drive – Fichiers

Déposez vos fichiers ici ou cliquez pour les choisir.

Formats acceptés : PDF, JPG, PNG, HEIC, HEIF, WEBP

Documents (Drive)

Ajouter un document
{% if manifestation.manifestationDriveFiles|length > 0 %}
    {% for file in manifestation.manifestationDriveFiles %}
  • {% if file.mimeType starts with 'image/' %} {{ file.name }} {% elseif file.mimeType == 'application/pdf' %} PDF {% else %} Fichier {% endif %}
    {{ file.name }}
    {{ file.mimeType }}
    Voir
    {% include 'admin/manifestation/drive/_rename.html.twig' with { id: file.id, name: file.name, url: path('admin_manifestation_drive_rename_ajax', { id: manifestation.id, fileId: file.id }) } %}
  • {% endfor %}
{% else %}

Aucun document n’a encore été ajouté.

{% endif %}

Champs personnalisés

Ajouter un champ
{% if manifestation.manifestationFields|length > 0 %}
{% for field in manifestation.manifestationFields|sort((a, b) => a.position <=> b.position) %} {% endfor %}
Nom technique Label Type Obligatoire Position Actions
{{ field.name }} {{ field.label }} {{ field.type }} {{ field.required ? icon('valid', true) : icon('invalid', true) }} {{ field.position }} {{ icon('edit', true) }}
{% else %}

Aucun champ personnalisé pour cette manifestation.

{% endif %}

Produits proposés

Ajouter un produit
{% if manifestation.manifestationProducts|length > 0 %}
{% for product in manifestation.manifestationProducts|sort((a, b) => a.position <=> b.position) %} {% endfor %}
Nom Image Prix de base Quantité max/utilisateur Stock total Vente Actif Actions
{{ product.title }} {% if product.picture %} {{ product.title }} {% endif %} {{ product.price|number_format(2, ',', ' ') }} € {{ product.maxQuantityPerUser ?? '—' }} {{ product.totalAvailable ?? '—' }} {{ product.saleStart ? product.saleStart|date('d/m/Y H:i') : '—' }} → {{ product.saleEnd ? product.saleEnd|date('d/m/Y H:i') : '—' }} {{ product.enabled ? icon('valid', true) : icon('invalid', true) }} {{ icon('edit', true) }} {{ icon('plus', true) }}
{% else %}

Aucun produit n’est encore associé à cette manifestation.

{% endif %}

Inscriptions / Commandes récentes

Voir tout
{% if manifestationRegistrations|length > 0 %}
{% for registration in manifestationRegistrations %} {% set prenomField = registration.fields|filter(f => f.field.name == 'firstname')|first %} {% set nomField = registration.fields|filter(f => f.field.name == 'lastname')|first %} {% set emailField = registration.fields|filter(f => f.field.name == 'email')|first %} {% endfor %}
Nom Email Produits Montant Date Statut Actions
{% if registration.user %} {{ registration.user.fullname }} {% else %} {% set prenom = prenomField is defined ? prenomField.value : '' %} {% set nom = nomField is defined ? nomField.value : '' %} {{ prenom ~ ' ' ~ nom ?: '—' }} {% endif %} {% if registration.user %} {{ registration.user.email }} {% else %} {{ emailField is defined and emailField.value ? emailField.value : '—' }} {% endif %} {% for product in registration.products %}
{{ product.product.title }} × {{ product.quantity }}
{% endfor %}
{{ registration.totalAmount|number_format(2, ',', ' ') }} € {{ registration.createdAt|date('d/m/Y H:i') }} {% if registration.isPaid %} Payé {% else %} Non payé {% endif %} Voir
{% else %}

Aucune inscription pour le moment.

{% endif %}
{% endblock %} {% block javascripts_end %} {% endblock %}