{% extends '@kohinos/common/layout.html.twig' %} {% block structured_data %} {{ parent() }} {% include '@kohinos/block/schema_local_business.html.twig' with {'presta': presta} %} {% endblock structured_data %} {% block content %}
{% include '@kohinos/block/breadcrumb.html.twig' with {'label': presta.raison, 'label2': 'Prestataires', 'url2': path('liste_prestataire') } %}

{{ presta.raison }}

{% if presta.acceptemlc %} {% else %} {% endif %} {% if presta.rubriques|length > 0%} {% for rubrique in presta.rubriques %} {{ rubrique.name }} {% endfor %} {% endif %} {# @TODO : ajouter le lien d'édition uniquement quand l'utilisateur peut l'éditer (Voter?) #} {% if app.user and (is_granted('ROLE_SUPER_ADMIN') or is_granted('ROLE_ADMIN_PRESTATAIRE_GERER_EDIT')) %} Edit {% endif %}
{% if presta.media != null %}
{{ presta.raison }}
{% endif %} {% if presta.statut != null %}
{{ presta.statut }}
{% endif %} {% if presta.groupe != null %}

{{'Groupe local'|trans}} : {{ presta.groupe.__toString() }}

{% endif %} {% if presta.siret != null %}
{{'SIRET'|trans}} : {{ presta.siret }}
{% endif %} {% if presta.horaires != null %}
{{'Horaires'|trans}} : {{ presta.horaires|raw }}
{% endif %} {% if presta.web != null %}
{{'Site web'|trans}} : {{ presta.web }}
{% endif %} {# {% if presta.responsable != null and presta.metier != null %}
Responsable : {{ presta.responsable }} ({{ presta.metier }})
{% endif %} #}
{{ presta.description|raw }}
{% if presta.geolocs|length > 0%}

{{ 'Adresse(s)'|trans }} :

    {% for geoloc in presta.geolocs %}
  • {{ geoloc.geoloc }}
  • {% endfor %}
{% endif %} {% if presta.contacts|length > 0%}

{{ 'Contact'|trans }}{{ (presta.contacts|filter(v => v.enabled)|length > 1) ? 's' : '' }} :

    {% for contact in presta.contacts|filter(v => v.enabled) %}
  • {{ contact.name }} : {% if contact.tel != null %}{{ contact.tel }}{% endif %} / {% if contact.email != null %}{{ contact.email }}{% endif %}
  • {% endfor %}
{% endif %}
{% endblock %} {% block contenat %}

{{ presta.raison }}

{{ presta.statut }}

Responsable : {{ presta.responsable }} ({{ presta.metier }})

SIRET : {{ presta.siret }}

{% if presta.web is not empty %}

Site web

{% endif %}
{% endblock %}