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

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

{% endblock %} {% block breadcrumb %} {% set breadcrumb = [ { 'name': 'registry.request.breadcrumb.list'|trans, 'link': path('registry_request_list') }, { 'name': 'registry.request.breadcrumb.show'|trans({ '%name%': object }) } ] %} {% include '_breadcrumb.html.twig' with {'breadcrumb': breadcrumb} %} {% endblock %} {% block body %}
{{ 'global.action.back_to_list'|trans }} {% if is_granted('ROLE_USER') and object.deletedAt is null and (actionEnabled) %} {{ 'global.action.edit'|trans }} {% endif %} {{ 'global.action.print'|trans }}
{# LEFT #}
{# REQUEST #}

{{ 'registry.request.tab.request'|trans }}

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

{{ 'registry.request.tab.answer'|trans }}

{% if object.state == constant('App\\Domain\\Registry\\Dictionary\\RequestStateDictionary::STATE_DENIED') %} {% endif %}
{# HISTORIC #}

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

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

{{ 'registry.request.tab.applicant'|trans }}

{# CONCERNED PEOPLE #} {% if not object.applicant.concernedPeople %}

{{ 'registry.request.tab.concerned_people'|trans }}

{% endif %} {# 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 %}