{% extends 'admin/layout.html.twig' %} {% block title %}{{ venue.name }} — Lieux et contacts{% endblock %} {% block admin_body %} {% set actions = [{label:'Retour aux lieux',href:path('admin_venue_index'),icon:'bi-arrow-left'}] %} {% if can_permission('VENUE_CONTACT',2) %}{% set actions = actions|merge([{label:'Modifier le lieu',href:path('admin_venue_edit',{id:venue.id}),icon:'bi-pencil'},{label:'Ajouter un contact',href:path('admin_venue_contact_new',{id:venue.id}),icon:'bi-person-plus',primary:true}]) %}{% endif %} {% include 'admin/ui/_page_header.html.twig' with { page_eyebrow: 'Lieu et contacts', page_title: venue.name, page_subtitle: venue.city ~ (venue.venueType ? ' · ' ~ venue.venueType.name : ''), page_actions: actions } %}

Contacts

{{ venue.contacts|length }} contact(s) enregistré(s)
{% for contact in venue.contacts %}

{{ contact.name }} {% if contact.primaryContact %}Principal{% endif %}

{{ contact.contactType ? contact.contactType.name : 'Fonction non précisée' }}
{% if contact.phone %}{{ contact.phone }}{% endif %}{% if contact.email %}{{ contact.email }}{% endif %}
{% if contact.notes %}

{{ contact.notes }}

{% endif %} {% if can_permission('VENUE_CONTACT',2) or can_permission('VENUE_CONTACT',3) %}
{% if can_permission('VENUE_CONTACT',2) %}Modifier{% endif %}{% if can_permission('VENUE_CONTACT',3) %}
{% endif %}
{% endif %}
{% else %} {% include 'admin/ui/_empty_state.html.twig' with {empty_icon:'bi-person-plus',empty_title:'Aucun contact',empty_text:'Vous pouvez conserver le lieu seul ou ajouter un contact lorsque vous obtenez ses coordonnées.',empty_action:can_permission('VENUE_CONTACT',2) ? {href:path('admin_venue_contact_new',{id:venue.id}),label:'Ajouter un contact'} : null} %} {% endfor %}

Informations du lieu

Adresse
{{ venue.address ?: '—' }}{% if venue.postalCode or venue.city %}
{{ venue.postalCode }} {{ venue.city }}{% endif %}
Site
{% if venue.website %}{{ venue.website }}{% else %}—{% endif %}
Jauge
{{ venue.capacity ?: '—' }}
Budget indicatif
{{ venue.approximateBudget ? venue.approximateBudget|number_format(0,',',' ') ~ ' €' : '—' }}
SIRET
{{ venue.siret ?: '—' }}
E-mail de facturation
{{ venue.billingEmail ?: '—' }}
Statut
{{ venue.statusLabel }}
{% if commercialSummary %}

Historique commercial

{{ commercialSummary.prospections }}
Prospections
{{ commercialSummary.confirmed }}
Confirmées
{{ commercialSummary.performed }}
Jouées

Dernier contact : {{ commercialSummary.lastContact ? commercialSummary.lastContact|date('d/m/Y') : '—' }}
{% if commercialSummary.lastFee %}
Dernier tarif : {{ commercialSummary.lastFee|number_format(0,',',' ') }} € HT
{% endif %}
{% endif %}
{% endblock %}