diff --git a/templates/gynobs/compta/comptaMemoTarifs.html.twig b/templates/gynobs/compta/comptaMemoTarifs.html.twig new file mode 100644 index 0000000..e596eeb --- /dev/null +++ b/templates/gynobs/compta/comptaMemoTarifs.html.twig @@ -0,0 +1,126 @@ +{# + # 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 > Config : actes + # + # @author Bertrand Boutillier + #} + +{% extends "page.html.twig" %} +{% import "macroForm.html.twig" as f %} +{% block title %}Mémo des tarifs de consultation - MedShakeEHR{% endblock %} + +{% block head %} + {{ parent() }} + + +{% endblock %} + +{% block body %} +

Mémo des tarifs de consultation

+
+
+ + {# Nav tabs #} + {% if page.users|length > 1 %} + + {% endif %} + + {# Tab panes #} +
+ + {# categories tab #} +
+ +

+ + {% for k, v in page.tabTypes %} +

{{ v.0.catLabel }}

+ + + + + + + + + + + + + + + {% for w in v %} + + + + {{ w.label }} + + + + + + + {% for key,det in w.details %} + + + + + + + + + + {% endfor %} + + {% endfor %} + +
CodeLabelTarif SSDépassementTotal
+ {{ (w.details|keys)|join(' + ') }} + {{ w.tarif|number_format(2, '.', ' ') }}{{ w.depassement|number_format(2, '.', ' ') }}{{ w.total|number_format(2, '.', ' ') }} + +
{{ key }} ({{ det.pourcents }}%){{ det.tarif|number_format(2, '.', '') }}{{ det.depassement|number_format(2, '.', '') }}{{ (det.tarif + det.depassement)|number_format(2, '.', '') }}
+ {% endfor %} +
+ +
+ +
+ + {% endblock %}