{% extends 'base_pdf.html.twig' %} {% set bodyClass = 'registry_treatment show' %} {% set menuItem = 'registry_treatment' %} {% block body_head %}{{ object.name }}{% endblock %} {% block body %} {# DPO Statut #}

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

{% if object.dpoMessage is not null %} {% endif %}
{# GENERAL #}

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

{% if object.collectivity.isServicesEnabled %} {% endif %} {% if object.author != "processing_manager" %} {% endif %} {% if object.legalBasis == 'consent' %} {% endif %}
{{ 'registry.treatment.label.name'|trans }} {{ object.name }}
{{ 'global.label.service'|trans }} {{ object.service }}
{{ 'registry.treatment.label.author'|trans }} {% if object.author is not null %}{{ object.author|dictionary('registry_treatment_author') }}{% endif %}
{{ 'registry.treatment.label.coordonnees_responsable_traitement'|trans }} {{ object.coordonneesResponsableTraitement|nl2br }}
{{ 'registry.treatment.label.manager'|trans }} {{ object.manager }}
{{ 'registry.treatment.label.goal'|trans }} {{ object.goal|nl2br }}
{{ 'registry.treatment.label.legal_basis'|trans }} {{ object.legalBasis|dictionary('registry_treatment_legal_basis') }}
{{ 'registry.treatment.label.legal_basis_justification'|trans }} {{ object.legalBasisJustification|nl2br }}
{{ 'registry.treatment.label.consent_request'|trans }} {% if object.consentRequest %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.consent_request_format'|trans }} {{ object.consentRequestFormat }}
{{ 'registry.treatment.label.observation'|trans }} {{ object.observation|nl2br }}
{{ 'registry.treatment.label.active'|trans }} {% if object.active %} {{ 'global.label.active'|trans }} {% else %} {{ 'global.label.inactive'|trans }} {% endif %}
{{ 'registry.treatment.label.public_registry'|trans }} {% if object.public == true %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{# DATA CATEGORY #}

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

{{ 'registry.treatment.label.data_category'|trans }}
    {% for category in object.dataCategories %}
  • {% if category.sensible %}{% endif %} {{ category.name }} {% if category.sensible %}{% endif %}
  • {% endfor %}
{{ 'registry.treatment.label.data_category_other'|trans }} {{ object.dataCategoryOther|nl2br }}
{# RECIPIENTS #}

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

{{ 'registry.treatment.label.recipient_category'|trans }} {{ object.recipientCategory|nl2br }}
{{ 'global.label.linked_contractor'|trans }}
    {% for contractor in object.contractors %}
  • {{ contractor }}
  • {% endfor %}
{# SPECIFIC #}

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

{# DETAILS #}

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

{{ 'registry.treatment.label.concerned_people'|trans }}
{{ 'registry.treatment.label.concerned_people_particular'|trans }} {% if object.concernedPeopleParticular.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleParticular.comment is not empty %}

{{ object.concernedPeopleParticular.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_user'|trans }} {% if object.concernedPeopleUser.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleUser.comment is not empty %}

{{ object.concernedPeopleUser.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_agent'|trans }} {% if object.concernedPeopleAgent.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleAgent.comment is not empty %}

{{ object.concernedPeopleAgent.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_elected'|trans }} {% if object.concernedPeopleElected.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleElected.comment is not empty %}

{{ object.concernedPeopleElected.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_company'|trans }} {% if object.concernedPeopleCompany.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleCompany.comment is not empty %}

{{ object.concernedPeopleCompany.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_partner'|trans }} {% if object.concernedPeoplePartner.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeoplePartner.comment is not empty %}

{{ object.concernedPeoplePartner.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_usager'|trans }} {% if object.concernedPeopleUsager.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleUsager.comment is not empty %}

{{ object.concernedPeopleUsager.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.concerned_people_other'|trans }} {% if object.concernedPeopleOther.check %} {{ 'global.label.yes'|trans }} {% if object.concernedPeopleOther.comment is not empty %}

{{ object.concernedPeopleOther.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.estimated_concerned_people'|trans }} {{ object.estimatedConcernedPeople }}
{% if object.collectivity.hasModuleTools %} {{ 'global.label.linked_tool'|trans }} {% else %} {{ 'registry.treatment.label.tools_if_inactif'|trans }} {% endif %} {% if object.collectivity.hasModuleTools %}
    {% for tool in object.tools %}
  • {{ tool.name }}
  • {% endfor %}
{% else %} {{ object.software }} {% endif %}
{{ 'registry.treatment.label.paper_processing'|trans }} {% if object.paperProcessing %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.shelflife'|trans }} {% for method in object.shelfLifes %}
{{ 'registry.treatment.label.shelflife_name'|trans }} {{ method.name }}
{{ 'registry.treatment.label.shelflife_duration'|trans }} {{ method.duration }}
{{ 'registry.treatment.label.shelflife_ultimate_fate'|trans }} {{ method.ultimateFate|dictionary('registry_treatment_ultimate_fate') }}
{% endfor %}
{% if object.otherCollectingMethod is not null %} {% endif %}
{{ 'registry.treatment.label.data_origin'|trans }} {{ object.dataOrigin }}
{{ 'registry.treatment.label.collecting_method'|trans }}
    {% for method in object.collectingMethod %}
  • {{ method|dictionary('registry_treatment_collecting_method') }}
  • {% endfor %}
{{ 'registry.treatment.label.otherCollectingMethod'|trans }} {{ object.otherCollectingMethod }}
{{ 'registry.treatment.label.legal_mentions'|trans }} {% if object.legalMentions %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{# SECURITY #}

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

{{ 'registry.treatment.label.security_access_control'|trans }} {% if object.securityAccessControl.check %} {{ 'global.label.yes'|trans }} {% if object.securityAccessControl.comment is not empty %}

{{ object.securityAccessControl.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_update'|trans }} {% if object.securityUpdate.check %} {{ 'global.label.yes'|trans }} {% if object.securityUpdate.comment is not empty %}

{{ object.securityUpdate.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_saving'|trans }} {% if object.securitySaving.check %} {{ 'global.label.yes'|trans }} {% if object.securitySaving.comment is not empty %}

{{ object.securitySaving.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_tracability'|trans }} {% if object.securitytracability.check %} {{ 'global.label.yes'|trans }} {% if object.securitytracability.comment is not empty %}

{{ object.securitytracability.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_other'|trans }} {% if object.securityOther.check %} {{ 'global.label.yes'|trans }} {% if object.securityOther.comment is not empty %}

{{ object.securityOther.comment }}

{% endif %} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_entitled_persons'|trans }} {% if object.securityEntitledPersons %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_open_accounts'|trans }} {% if object.securityOpenAccounts %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.treatment.label.security_specificities_delivered'|trans }} {% if object.securitySpecificitiesDelivered %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{# 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 %}
{# 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 %}
{% endif %} {# HISTORIC #}

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

{% if is_granted('ROLE_REFERENT') %} {% endif %}
{{ 'global.label.organization'|trans }} {{ object.collectivity }}
{{ 'global.label.created_at'|trans }} {{ object.createdAt|date('d/m/Y H:i') }}
{{ 'global.label.updated_at'|trans }} {{ object.updatedAt|date('d/m/Y H:i') }}
{{ 'global.label.updated_by'|trans }} {{ object.updatedBy }}
{% endblock %}