{% 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.label.statut'|trans }} | {% if object.statut is defined and object.statut %} {{ object.statut|dictionary('treatment_statut') }} {% endif %} |
| {{ 'registry.treatment.label.dpoMessage'|trans }} | {{ object.dpoMessage }} |
| {{ 'registry.treatment.label.name'|trans }} | {{ object.name }} |
| {{ 'registry.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 %} |
| {{ 'registry.treatment.label.data_category'|trans }} |
|
| {{ 'registry.treatment.label.data_category_other'|trans }} | {{ object.dataCategoryOther|nl2br }} |
| {{ 'registry.treatment.label.recipient_category'|trans }} | {{ object.recipientCategory|nl2br }} |
| {{ 'global.label.linked_contractor'|trans }} |
|
| {{ 'registry.treatment.label.exempt_AIPD'|trans }} | {% if object.ExemptAIPD %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.large_scale_collection'|trans }} | {% if object.largeScaleCollection %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.data_crossing'|trans }} | {% if object.dataCrossing %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.automated_decisions_with_legal_effect'|trans }} | {% if object.automatedDecisionsWithLegalEffect %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.evaluation_or_rating'|trans }} | {% if object.evaluationOrRating %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.automatic_exclusion_service'|trans }} | {% if object.automaticExclusionService %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.vulnerable_people'|trans }} | {% if object.vulnerablePeople %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.systematic_monitoring'|trans }} | {% if object.systematicMonitoring %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %} |
| {{ 'registry.treatment.label.innovative_use'|trans }} | {% if object.innovativeUse %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% 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 }} |
| {{ '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 %}
|
| {{ '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.data_origin'|trans }} | {{ object.dataOrigin }} |
| {{ 'registry.treatment.label.collecting_method'|trans }} |
|
| {{ '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 %} |
| {{ '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 %} |
| {{ 'registry.treatment.label.last_conformite_traitement'|trans }} | {% if object.conformiteTraitement is not null %} {{ object.conformiteTraitement.updatedAt|date('d/m/Y') }} {% else %} {{ 'registry.treatment.label.no_conformite_traitement'|trans }} {% endif %} |
| {{ 'registry.conformite_traitement.label.conformite_traitement'|trans }} | {{ getConformiteTraitementLabel(object.conformiteTraitement)|raw }} |
| {{ 'registry.conformite_traitement.label.conformite_reponse'|trans }} | {% set nbTotal = object.conformiteTraitement.nbConformes + object.conformiteTraitement.nbNonConformesMineures + object.conformiteTraitement.nbNonConformesMajeures %} {% set widthNbConforme = ((object.conformiteTraitement.nbConformes * 100) / nbTotal)|round %} {% set widthnbNonConformesMineures = ((object.conformiteTraitement.nbNonConformesMineures * 100) / nbTotal)|round %} {% set widthnbNonConformesMajeures = 100 - (widthNbConforme + widthnbNonConformesMineures) %} |
| {{ 'global.label.actions'|trans }} | {{ 'registry.conformite_traitement.action.show_conformite_traitement'|trans }} |
| {{ 'aipd.treatment.label.last_aipd'|trans }} | {% if object.conformiteTraitement is null %} {{ 'aipd.treatment.label.no_conformite_traitement'|trans }} {% elseif object.conformiteTraitement is not null and analyseImpact is null %} {{ 'aipd.treatment.label.no_aipd'|trans }} {% else %} {{ analyseImpact.createdAt|date('d/m/Y') }} {% endif %} |
| {{ 'aipd.treatment.label.avis_aipd'|trans }} | {% set labelAipdColor = "label-default" %} {% if analyseImpact.statut == "defavorable" %} {% set labelAipdColor = "label-danger" %} {% elseif analyseImpact.statut == "favorable_reserve" %} {% set labelAipdColor = "label-warning" %} {% elseif analyseImpact.statut == "favorable" %} {% set labelAipdColor = "label-success" %} {% endif %} {% set statut = analyseImpact.statut %} {% set labelStatut = "aipd.analyse_impact.values." ~ object.conformiteTraitement.lastAnalyseImpact.statut %} {{ labelStatut|trans}} |
| {{ 'aipd.analyse_impact.list.date_validation'|trans }} | {% if analyseImpact.isValidated %} {{ analyseImpact.dateValidation|date('d/m/Y') }} {% else %} {{ 'aipd.treatment.label.validation_in_progress'|trans }} {% endif %} |
| {{ 'global.label.actions'|trans }} | {% if analyseImpact is not null %} {% if analyseImpact.isValidated != 1 %} {{ 'aipd.analyse_impact.action.edit'|trans }} {% if analyseImpact.isReadyForValidation %} {{ 'global.action.validate'|trans }} {% endif %} {% else %} {{ 'aipd.analyse_impact.action.print'|trans }} {{ 'global.action.delete'|trans }} {% endif %} {% else %} {{ 'aipd.analyse_impact.action.create'|trans }} {% endif %} |