{% extends 'base.html.twig' %} {% block title %}{{ event.title }} - E-Ticket{% endblock %} {% block body %}
Retour aux evenements

{{ event.title }}

Gestion de l'evenement.

{% for message in app.flashes('success') %}

{{ message }}

{% endfor %} {% for message in app.flashes('error') %}

{{ message }}

{% endfor %}
{% if event.online %}
{% elseif owner.stripeChargesEnabled and owner.stripePayoutsEnabled %}
{% else %} Stripe requis pour mettre en ligne {% endif %} {% if event.secret %}
{% else %}
{% endif %}
{% if event.online %} En ligne {% else %} Hors ligne {% endif %} {% if event.secret %} Secret {% endif %}
{% if is_granted('ROLE_ROOT') %}

Statut Stripe du compte organisateur

{{ owner.companyName ?? (owner.firstName ~ ' ' ~ owner.lastName) }} {% if owner.stripeAccountId %} Compte Stripe connecte {% else %} Aucun compte Stripe {% endif %} {% if owner.stripeChargesEnabled %} Charges accepted {% else %} Charges non accepted {% endif %} {% if owner.stripePayoutsEnabled %} Payouts accepted {% else %} Payouts non accepted {% endif %}
{% endif %} {% if event.online %}

URL publique

{{ absolute_url(path('app_event_detail', {orgaSlug: event.account.slug, id: event.id, eventSlug: event.slug})) }}

{% endif %} {% set current_tab = app.request.query.get('tab', 'info') %}
Informations Categories {% if is_granted('ROLE_ROOT') or app.user.offer == 'custom' %} Billets {% endif %} Invitations Tickets Attestation Statistiques
{% if current_tab == 'info' %}

Affiche

{% if event.eventMainPictureName %} {{ event.title }} {% else %}
📷

Aucune affiche

Ajoutez une image via le formulaire

{% endif %}
{% elseif current_tab == 'categories' %}

Categories

{% if categories|length > 0 %}
{% for category in categories %}
{{ category.name }} {{ category.startAt|date('d/m/Y H:i') }} — {{ category.endAt|date('d/m/Y H:i') }} {% if category.hidden %} Masquee {% elseif category.active %} Active {% else %} Inactive {% endif %}
{% set category_billets = billets[category.id] ?? [] %} {% if category_billets|length > 0 %}
{% for billet in category_billets %} {% set sold = sold_counts[billet.id] ?? 0 %}
{% if billet.pictureName %} {{ billet.name }} {% endif %} {{ billet.name }} {{ billet.priceHTDecimal|number_format(2, ',', ' ') }} € HT {{ billet.unlimited ? 'Illimite' : billet.quantity ~ ' places' }} {{ sold }} vendu{{ sold > 1 ? 's' : '' }} {% if billet.generatedBillet %} Billet {% else %} Sans billet {% endif %} {% if billet.definedExit %} Sortie def. {% endif %} {% if billet.notBuyable %} Non achetable {% endif %} {% if billet.type != 'billet' %} {{ billet.type == 'reservation_brocante' ? 'Brocante' : 'Vote' }} {% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% set total_sold = 0 %} {% set total_ht = 0 %} {% set total_commission_eticket = 0 %} {% set total_commission_stripe = 0 %} {% for cat_billets in billets %} {% for billet in cat_billets %} {% set sold = sold_counts[billet.id] ?? 0 %} {% set line_ht = billet.priceHTDecimal * sold %} {% set eticket_fee = line_ht * (commission_rate / 100) %} {% set stripe_fee = sold > 0 ? (line_ht * stripe_fee_rate) + ((stripe_fee_fixed / 100) * sold) : 0 %} {% set total_sold = total_sold + sold %} {% set total_ht = total_ht + line_ht %} {% set total_commission_eticket = total_commission_eticket + eticket_fee %} {% set total_commission_stripe = total_commission_stripe + stripe_fee %} {% endfor %} {% endfor %} {% set total_commission = total_commission_eticket + total_commission_stripe %} {% set total_net = total_ht - total_commission %}

Recapitulatif ventes (hors invitations)

Qt vendue
{{ total_sold }}
Total HT
{{ total_ht|number_format(2, ',', ' ') }} €
Total commissions
{{ total_commission|number_format(2, ',', ' ') }} €
Total percu
{{ total_net|number_format(2, ',', ' ') }} €
Commission E-Ticket ({{ commission_rate }}%)
-{{ total_commission_eticket|number_format(2, ',', ' ') }} €
Commission Stripe ({{ (stripe_fee_rate * 100)|number_format(1) }}% + {{ (stripe_fee_fixed / 100)|number_format(2, ',', ' ') }}€/tx)
-{{ total_commission_stripe|number_format(2, ',', ' ') }} €
Total commissions
-{{ total_commission|number_format(2, ',', ' ') }} €
{% else %}

Aucune categorie. Ajoutez-en une pour commencer a vendre des billets.

{% endif %}
{% elseif current_tab == 'billets' and (is_granted('ROLE_ROOT') or app.user.offer == 'custom') %} {% set bd = billet_design %}

Personnalisation



Apercu du billet — A4

{% elseif current_tab == 'invitations' %}

Creer une invitation

Billets

Accreditation Staff / Exposant

{% if invitations|length > 0 %}

Invitations envoyees

{% for order in invitations %}

{{ order.firstName }} {{ order.lastName }}

{{ order.email }}

{{ order.orderNumber }} {% for item in order.items %} {{ item.billetName }} x{{ item.quantity }} {% endfor %} {{ order.createdAt|date('d/m/Y H:i') }} {% if order.status == 'paid' %} Envoyee {% else %} {{ order.status }} {% endif %}
{% endfor %}
{% endif %} {% elseif current_tab == 'tickets' %}

Rechercher un ticket

{% if tickets_search_query %} Effacer {% endif %}

Tickets vendus ({{ event_tickets.getTotalItemCount }})

{% for ticket in event_tickets %} {% else %} {% endfor %}
Reference Cle Billet Acheteur Statut Scanne Actions
{{ ticket.reference }} {{ ticket.securityKey }} {{ ticket.billetName }}

{{ ticket.billetBuyer.firstName }} {{ ticket.billetBuyer.lastName }}

{{ ticket.billetBuyer.email }}

{% if ticket.state == 'valid' %} Valide {% elseif ticket.state == 'invalid' %} Annule {% elseif ticket.state == 'expired' %} Expire {% endif %} {% if ticket.invitation %} Invitation {% endif %} {% if ticket.firstScannedAt %} {{ ticket.firstScannedAt|date('d/m/Y H:i') }} {% else %} - {% endif %} PDF
{% if ticket.state == 'valid' %}
{% endif %}
Aucun ticket vendu.
{% if event_tickets.getTotalItemCount > 20 %}
{% for page in 1..event_tickets.getPageCount %} {% if page == event_tickets.getCurrentPageNumber %} {{ page }} {% else %} {{ page }} {% endif %} {% endfor %}
{% endif %} {% elseif current_tab == 'attestation' %}

Generer une attestation de ventes

Selectionnez les categories et/ou billets a inclure dans l'attestation. Le document PDF certifiera le nombre de billets vendus et le chiffre d'affaires HT (hors invitations).

{% if categories|length > 0 %}

Categories

{% for category in categories %} {% endfor %}
{% endif %} {% set has_billets = false %} {% for cat_billets in billets %} {% if cat_billets|length > 0 %} {% set has_billets = true %} {% endif %} {% endfor %} {% if has_billets %}

Billets individuels

Si vous selectionnez une categorie ci-dessus, tous ses billets seront inclus. Utilisez cette section pour ajouter des billets specifiques en complement.

{% for category in categories %} {% set cat_billets = billets[category.id] ?? [] %} {% for billet in cat_billets %} {% endfor %} {% endfor %}
{% endif %}
{% elseif current_tab == 'stats' %}
Commandes
{{ event_total_orders }}
Billets vendus
{{ event_total_sold }}
Chiffre d'affaires HT
{{ event_total_ht|number_format(2, ',', ' ') }} €
Total percu
{% set commission_eticket = event_total_ht * (commission_rate / 100) %} {% set commission_stripe = event_total_orders > 0 ? (event_total_ht * stripe_fee_rate + event_total_orders * (stripe_fee_fixed / 100)) : 0 %} {% set total_net = event_total_ht - commission_eticket - commission_stripe %}
{{ total_net|number_format(2, ',', ' ') }} €
Commission E-Ticket ({{ commission_rate }}%)
-{{ commission_eticket|number_format(2, ',', ' ') }} €
Commission Stripe ({{ (stripe_fee_rate * 100)|number_format(1) }}% + {{ (stripe_fee_fixed / 100)|number_format(2, ',', ' ') }}€/tx)
-{{ commission_stripe|number_format(2, ',', ' ') }} €
Total commissions
-{{ (commission_eticket + commission_stripe)|number_format(2, ',', ' ') }} €
{% if billet_stats|length > 0 %}

Ventes par billet

{% for stat in billet_stats %}
{{ stat.name }} {{ stat.sold }} vendu{{ stat.sold > 1 ? 's' : '' }} {{ (stat.revenue / 100)|number_format(2, ',', ' ') }} € HT
{% endfor %}
{% endif %}

Commandes

{% if search_query %} Reset {% endif %}
{% if event_orders|length > 0 %} {% for order in event_orders %}
{{ order.orderNumber }} {% if order.status == 'paid' %} Payee {% elseif order.status == 'refunded' %} Remboursee {% elseif order.status == 'cancelled' %} Annulee {% else %} En attente {% endif %} {{ order.createdAt|date('d/m/Y H:i') }}
{{ order.firstName }} {{ order.lastName }} {{ order.email }}
{% for item in order.items %} {{ item.billetName }} x{{ item.quantity }} {% endfor %} {{ order.totalHTDecimal|number_format(2, ',', ' ') }} € {% if order.paymentMethod %} {{ order.paymentMethod }}{% if order.cardBrand %} {{ order.cardBrand|upper }}{% endif %}{% if order.cardLast4 %} **** {{ order.cardLast4 }}{% endif %} {% endif %}
Voir {% if order.status == 'paid' %}
{% endif %}
{% endfor %}
{{ knp_pagination_render(event_orders) }}
{% else %}

{{ search_query ? 'Aucune commande trouvee.' : 'Aucune commande pour cet evenement.' }}

{% endif %}
{% endif %}
{% endblock %}