{% extends 'base.html.twig' %} {% set bodyClass = 'registry_contractor show' %} {% set menuItem = 'registry_contractor' %} {% block title %}{{ 'registry.contractor.title.show'|trans }} - {{ parent() }}{% endblock %} {% block body_head %}

{{ 'registry.contractor.title.show'|trans }} {{ object }}

{% endblock %} {% block breadcrumb %} {% set breadcrumb = [ { 'name': 'registry.contractor.breadcrumb.list'|trans, 'link': path('registry_contractor_list') }, { 'name': 'registry.contractor.breadcrumb.show'|trans({ '%name%': object }) } ] %} {% include '_breadcrumb.html.twig' with {'breadcrumb': breadcrumb} %} {% endblock %} {% block body %} {% if is_granted('ROLE_PREVIEW') %}
{% endif %}
{# LEFT #}
{# GENERAL #}

{{ 'global.tab.general'|trans }}

{% if object.collectivity.isServicesEnabled %} {% endif %}
{# DPO #}

{{ 'registry.contractor.tab.dpo'|trans }}

{# HISTORIC #}

{{ 'global.tab.history'|trans }}

{% if is_granted('ROLE_REFERENT') %} {% endif %}
{# RIGHT #}
{# COORDINATES #}

{{ 'registry.contractor.tab.coordinates'|trans }}

{# LINKED MODULES #}

{{ 'global.tab.linked_modules'|trans }}

{# TREATMENTS #} {% include '_Utils/_show_block_treatments.html.twig' with { treatments: object.treatments } %} {# CONTRACTORS #} {% include '_Utils/_show_block_contractors.html.twig' with { contractors: object.contractors } %} {# TOOLS #} {% if object.collectivity.isHasModuleTools %} {% include '_Utils/_show_block_tools.html.twig' with { tools: object.tools } %} {% endif %} {# REQUESTS #} {% include '_Utils/_show_block_requests.html.twig' with { requests: object.requests } %} {# VIOLATIONS #} {% include '_Utils/_show_block_violations.html.twig' with { violations: object.violations } %} {# PROOFS #} {% include '_Utils/_show_block_proofs.html.twig' with { proofs: object.proofs } %} {# MESUREMENTS #} {% include '_Utils/_show_block_mesurements.html.twig' with { mesurements: object.mesurements } %}
{% endblock %}