{# # 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, bloc des sujets pour inclusion # # @author Bertrand Boutillier #} {% if page.listeSujets is empty %} Pas de transmission répondant aux critères {% else %} {% for suj in page.listeSujets %} {% if suj.registerDate|date('Ymd') != "now"|date('Ymd') %} {{ suj.registerDate|date('d/m/Y H:i') }} {% else %} {{ suj.registerDate|date('H:i') }} {% endif %} {% if suj.priorite == 10 %}{% elseif suj.priorite == 5 %}{% endif %} {{ suj.sujet }} {% if suj.aboutID > 0 %} {{ suj.identiteAbout }} {% endif %} {{ suj.identiteAuteur }} {% if suj.destinataires|length > 0 %}
    {% for desti in suj.destinataires %}
  • {{ desti.identiteDestinataire }} {% if suj.updateDate > desti.dateLecture %} {% else %} {% endif %} {% if desti.statut == 'checked' %} {% endif %}
  • {% endfor %}
{% else %} Tous {% endif %} {% endfor %} {% endif %}