{# # This file is part of MedShakeEHR. # # Copyright (c) 2019 # 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 > Outils > fax autonome # # @author Bertrand Boutillier #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : envoyer un fax{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block jsEmbed %} {{ parent() }} $(document).ready(function() { $("#dropZoneEnvoyerFax").dmUploader({ url: urlBase + '/outils/ajax/outilsFaxUploadDoc/', extraData: { }, dataType: 'html', maxFiles: 1, onUploadSuccess: function(id, data) { $(".progress-bar").css('width', '0%'); location.reload(); }, onUploadProgress: function(id, percent) { $(".progress-bar").css('width', percent + '%'); } }); $("#supPdf2Fax").on("click", function(e) { $.ajax({ url: urlBase + '/outils/ajax/outilsFaxRemoveDoc/', type: 'post', dataType: "html", success: function() { location.reload(); }, error: function() { location.reload(); } }); }); //autocomplete pour le destinataire ecofax $('body').on('focusin', 'input[name="mailToEcofaxName"]', function() { if ($(this).is(':data(autocomplete)')) return; $(this).autocomplete({ source: urlBase + '/ajax/getAutocompleteLinkType/faxPro/birthname:lastname:firstname/birthname:lastname:firstname:faxPro/', select: function(event, ui) { $('input[name="mailToEcofaxNumber"]').val(ui.item.faxPro); } }); }); $('#id_mailToEcofaxName_id').removeAttr('required'); }); {% endblock %} {% block body %}

Envoyer un fax

{% if config.faxService == 'ecofaxOVH' and config.ecofaxMyNumber is not empty and config.ecofaxPassword is not empty %}
Cette page permet d'envoyer un fax via Écofax sans que le document expédié soit attaché à un dossier patient.
Attention, aucun historique n'est conservé.
Déposez ici le fichier PDF ou sélectionnez-le avec le bouton ci-dessous
{% if page.destination_file_present %} {% endif %}
{% if page.destination_file_present %} {% endif %}
{% else %}
Cette page permet d'envoyer un fax via OVH Écofax sans que le document expédié soit attaché à un dossier patient.
Il semble cependant que votre configuration soit incomplète et ne permette pas d'utiliser cet outil pour le moment.
{% endif %} {% endblock %}