{% extends 'base_pdf.html.twig' %} {% set bodyClass = 'registry_mesurement show' %} {% set menuItem = 'registry_mesurement' %} {% block body %} {% for object in objects %}

{{ object.name }}

{# GENERAL INFORMATIONS #}

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

{% if object.collectivity.isServicesEnabled %} {% endif %} {% if object.priority is not null %} {% endif %}
{{ 'registry.mesurement.label.name'|trans }} {{ object.name }}
{{ 'global.label.service'|trans }} {{ object.service }}
{{ 'registry.mesurement.label.description'|trans }} {{ object.description|nl2br }}
{{ 'registry.mesurement.label.manager'|trans }} {{ object.manager }}
{{ 'registry.mesurement.label.priority'|trans }}{{ object.priority|dictionary('registry_mesurement_priority') }}
{{ 'registry.mesurement.label.cost'|trans }} {{ object.cost }}
{{ 'registry.mesurement.label.charge'|trans }} {{ object.charge }}
{# APPLICATION #}

{{ 'registry.mesurement.tab.application'|trans }}

{{ 'registry.mesurement.label.status'|trans }} {{ object.status|dictionary('registry_mesurement_status') }}
{{ 'registry.mesurement.label.planification_date'|trans }} {% if object.planificationDate is not null %} {{ object.planificationDate|date('d/m/Y') }} {% endif %}
{{ 'registry.mesurement.label.comment'|trans }} {% if object.comment is not null %} {{ object.comment }} {% 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 } %}
{# 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 }}
{% endfor %} {% endblock %}