{# # 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 > Compta : compta du jour # # @author Bertrand Boutillier # @contrib fr33z00 #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : règlements du jour{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block body %}

Règlements du jour

{% if page.tabRegC is empty and page.tabRegNC is empty %}
Il n'existe pas de règlement en date du jour.
{% endif %}
{% if page.tabRegNC %}
Paiements à recevoir
{% if page.pratsAuto|length > 1 %}{% endif %} {% if page.secteur %}{% else %}{% endif %} {% for obj, reg in page.tabRegNC %} {% if page.pratsAuto|length > 1 %} {% endif %} {% if page.secteur %} {% else %} {% endif %} {% endfor %}
PatientPraticienCMU / TP ?Montant des actes Déjà réglé Reste à régler  
{{ reg.prenom|e }} {{ reg.nom|e }} {{ page['pratsAuto'][reg.fromID]['prenom'] }} {{ page['pratsAuto'][reg.fromID]['nom'] }} {% if reg.regleSituationPatient == 'CMU' or reg.regleSituationPatient == 'TP' %}{{ reg.regleSituationPatient }}{% endif %} {% if reg.regleSituationPatient == 'CMU' or reg.regleSituationPatient == 'TP' %} {{ reg.regleFacture|e }}€ {% else %} {{ reg.regleFacture }}€ ({{ reg.regleTarifSSCejour|e }}€ + {{ reg.regleDepaCejour|e }}€) {% endif %} {{ reg.dejaPaye|e }}€ {{ reg.resteAPaye }}€
{% endif %} {% if page.tabRegC %}
Paiements effectués
{% if page.pratsAuto|length > 1 %}{% endif %} {% if page.secteur %}{% else %}{% endif %} {% for reg in page.tabRegC %} {% if page.pratsAuto|length > 1 %} {% endif %} {% endfor %}
PatientPraticienCMU / TP ?Montant à régler Payé Mode
{{ reg.prenom|e }} {{ reg.nom|e }} {{ page['pratsAuto'][reg.fromID]['prenom'] }} {{ page['pratsAuto'][reg.fromID]['nom'] }} {% if reg.regleSituationPatient == 'CMU' or reg.regleSituationPatient == 'TP' %}{{ reg.regleSituationPatient }}{% endif %} {% if reg.regleSituationPatient == 'CMU' or reg.regleSituationPatient == 'TP' %}{{ reg.regleFacture|e }}€ {% else %} {{ reg.regleFacture|e }}€ ({{ reg.regleTarifSSCejour|e }}€ + {{ reg.regleDepaCejour|e }}€) {% endif %} {{ reg.dejaPaye|e }}€ {% if reg.regleCheque > 0 %}Chèque{% endif %} {% if reg.regleCB > 0 %}CB{% endif %} {% if reg.regleEspeces > 0 %}Espèces{% endif %}
{% endif %}
{% endblock %} {% block modals %} {% endblock %}