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

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

{% if object.collectivity.isServicesEnabled %} {% endif %}
{{ 'registry.contractor.label.name'|trans }} {{ object.name }}
{{ 'global.label.service'|trans }} {{ object.service }}
{{ 'registry.contractor.label.referent'|trans }} {{ object.referent }}
{{ 'registry.contractor.label.contractual_clauses_verified'|trans }} {% if object.contractualClausesVerified %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.contractor.label.adopted_security_features'|trans }} {% if object.adoptedSecurityFeatures %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.contractor.label.maintains_treatment_register'|trans }} {% if object.maintainsTreatmentRegister %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.contractor.label.sending_data_outside_eu'|trans }} {% if object.sendingDataOutsideEu %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'registry.contractor.label.other_informations'|trans }} {{ object.otherInformations|nl2br }}
{# DPO #}

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

{{ 'registry.contractor.label.has_dpo'|trans }} {% if object.hasDpo %} {{ 'global.label.yes'|trans }} {% else %} {{ 'global.label.no'|trans }} {% endif %}
{{ 'global.label.contact.civility'|trans }} {% if object.dpo.civility is not null %} {{ object.dpo.civility|dictionary('user_contact_civility') }} {% endif %}
{{ 'global.label.contact.first_name'|trans }} {{ object.dpo.firstName }}
{{ 'global.label.contact.last_name'|trans }} {{ object.dpo.lastName }}
{{ 'global.label.contact.job'|trans }} {{ object.dpo.job }}
{{ 'global.label.contact.email'|trans }} {{ object.dpo.mail }}
{{ 'global.label.contact.phone_number'|trans }} {{ object.dpo.phoneNumber }}
{# COORDINATES #}

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

{{ 'global.label.contact.first_name'|trans }} {{ object.legalManager.firstName }}
{{ 'global.label.contact.last_name'|trans }} {{ object.legalManager.lastName }}
{{ 'global.label.address.line_one'|trans }} {{ object.address.lineOne }}
{{ 'global.label.address.line_two'|trans }} {{ object.address.lineTwo }}
{{ 'global.label.address.zip_code'|trans }} {{ object.address.zipCode }}
{{ 'global.label.address.city'|trans }} {{ object.address.city }}
{{ 'global.label.address.country'|trans }} {{ object.address.country }}
{{ 'global.label.contact.email'|trans }} {{ object.address.mail }}
{{ 'global.label.contact.phone_number'|trans }} {{ object.address.phoneNumber }}
{# 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 } %}
{# 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 %}