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

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

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

{{ 'registry.treatment.tab.statut_dpo'|trans }}

{% if is_granted('ROLE_ADMIN') or (is_granted('ROLE_USER') and object.dpoMessage is not null) %} {% endif %}
{# GENERAL #}

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

{% if serviceEnabled %} {% endif %} {% if object.author != "processing_manager" %} {% endif %} {% if object.legalBasis == 'consent' %} {% endif %}
{# DATA CATEGORY #}

{{ 'registry.treatment.tab.data_category'|trans }}

{# RECIPIENTS #}

{{ 'registry.treatment.tab.recipients'|trans }}

{# SPECIFIC #}

{{ 'registry.treatment.tab.specific'|trans }}

{# HISTORIC #}

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

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

{{ 'registry.treatment.tab.details'|trans }}

{{ 'registry.treatment.label.shelflife'|trans }} {% for method in object.shelfLifes %}
{% endfor %}
{% if object.otherCollectingMethod is not null %} {% endif %}
{# SECURITY #}

{{ 'registry.treatment.tab.security'|trans }}

{# LINKED MODULES #}

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

{# TREATMENTS #} {% include '_Utils/_show_block_treatments.html.twig' with { treatments: object.treatments } %} {# 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 } %}
{# TREATMENT CONFORMITY & AIPD #} {% if object.collectivity.hasModuleConformiteTraitement %} {# TREATMENT CONFORMITY #}

{{ 'registry.treatment.tab.conformite'|trans }}

{% if object.conformiteTraitement is not null %} {% endif %} {% if is_granted('ROLE_USER') and (actionEnabled) %} {% endif %}
{# AIPD #} {% if object.conformiteTraitement is not null %} {% set analyseImpact = object.conformiteTraitement.lastAnalyseImpact %} {% endif %}

{{ 'registry.treatment.tab.last_aipd'|trans }}

{% if object.conformiteTraitement is not null and analyseImpact is not null %} {% endif %} {% if is_granted('ROLE_USER') and (actionEnabled) %} {% if object.conformiteTraitement is not null %} {% endif %} {% endif %}
{% endif %}
{% endblock %}