{# # This file is part of MedShakeEHR. # # Copyright (c) 2017 # 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 . #/ /## # Template > patient : formulaire d'envoi de mail # # @author Bertrand Boutillier # @contrib fr33z00 #} {% import "macroForm.html.twig" as f %} {# Formulaire de synthèse #}
{% if page.form.addHidden.mailType == 'ns' %}

Envoyer par mail non sécurisé

{% elseif page.form.addHidden.mailType == 'apicrypt' %}

Envoyer par mail Apicrypt

{% elseif page.form.addHidden.mailType == 'ecofax' %}

Envoyer par fax

{% endif %} {% if page.doc %} {% if page.correspondants is not empty %}
{% if page.form.addHidden.mailType == 'ns' %} {% elseif page.form.addHidden.mailType == 'apicrypt' %} Correspondants du patient possédant une adresse mail sécurisée :
{% for v in page.correspondants %} {% endfor %} {% elseif page.form.addHidden.mailType == 'ecofax' %} Correspondants du patient possédant un fax :
{% for v in page.correspondants %} {% endfor %} {% endif %}
{% endif %}
{{ f.formbuilder(page.form , page.formIN ) }}
Document à expédier : {{ page.doc.label|e }} {{ page.doc.titre|e }} (Taille : {{ page.doc.filesize|e }})
{% if page.doc.mimetype in ['application/zip'] %}

Fichier zip - aperçu non disponible
{% elseif page.doc.mimetypeParts[0] == 'image' %} {% else %} {% endif %}
{% else %} {{ f.formbuilder(page.form , page.formIN ) }} {% endif %} {% if page.formJavascript is not empty %} {% endif %}