{# # This file is part of MedShakeEHR. # # Copyright (c) 2018 # Bertrand Boutillier # http://www.medshake.net # # MedShakeEHR is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # MedShakeEHR is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MedShakeEHR. If not, see . #/ /## # Transmissions, transmission # # @author Bertrand Boutillier #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : transmission #{{ page.transmissionID }} {% endblock %} {% block head %} {% endblock %} {% block body %}

Transmission #{{ page.transmissionID }}

{% if page.transmission.statut == 'deleted' %} {% endif %}
Retour à la liste {% if user.id in page.transmission.destinatairesID %} {% if page['transmission']['statutDestinataires'][user.id] == 'checked' %} {% else %} {% endif %} {% endif %}
{% if user.id == page.transmission.fromID %}
{% endif %}
Auteur {{ page.transmission.identiteAuteur }} Créée {% if page.transmission.registerDate|date('Ymd') != "now"|date('Ymd') %} le {{ page.transmission.registerDate|date('d/m/Y H:i') }} {% else %} aujourd'hui {{ page.transmission.registerDate|date('H:i') }} {% endif %} {% if page.transmission.updateDate != page.transmission.registerDate %} - Dernière action {% if page.transmission.updateDate|date('Ymd') != "now"|date('Ymd') %} le {{ page.transmission.updateDate|date('d/m/Y H:i') }} {% else %} aujourd'hui {{ page.transmission.updateDate|date('H:i') }} {% endif %} {% endif %}
Sujet {{ page.transmission.sujet }}
Concerne {% if page.transmission.aboutID > 0 %} {{ page.transmission.identiteAbout }} {% endif %}
Destinataires
    {% for desti in page.transmission.destinataires %}
  • {{ desti.identiteDestinataire }} {% if page.transmission.updateDate > desti.dateLecture %} {% else %} {% endif %} {% if desti.statut == 'checked' %} {% endif %}
  • {% endfor %}
{% if page.transmission.texte is not empty %}
{{ page.transmission.texte|nl2br }}
{% endif %}
{% include 'inc-transmissionsBlocReponses.html.twig' %}
{% endblock %} {% block modals %} {# modal nouvelle transmission #} {% include 'inc-transmissionsNouvelleModal.html.twig' %} {% endblock %}