{% extends 'base_pdf.html.twig' %} {% set bodyClass = 'registry_mesurement show' %} {% set menuItem = 'registry_mesurement' %} {% block title %}{{ 'registry.mesurement.title.show'|trans }} - {{ parent() }}{% endblock %} {% block body_head %}{{ object.name }}{% endblock %} {% block body %} {# GENERAL INFORMATIONS #}
| {{ '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 }} | {% if object.priority is not null %}{{ object.priority|dictionary('registry_mesurement_priority') }} | {% endif %}
| {{ 'registry.mesurement.label.cost'|trans }} | {{ object.cost }} |
| {{ 'registry.mesurement.label.charge'|trans }} | {{ object.charge }} |
| {{ '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 %} |
| {{ '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 }} |