1 |
54318d2c
|
Serghei MIHAI
|
{% extends 'dossiers/patientrecord_tab.html' %}
|
2 |
|
|
{% block print-button %}
|
3 |
|
|
<div class="print-container screen-only">
|
4 |
|
|
<form class="datepicker filter">
|
5 |
|
|
<h5>Filtrer par date</h5>
|
6 |
|
|
du <input type="text" name="from" />
|
7 |
|
|
au <input type="text" name="to" />
|
8 |
|
|
</form>
|
9 |
|
|
{{ block.super }}
|
10 |
|
|
</div>
|
11 |
|
|
<br class="clear" />
|
12 |
|
|
{% endblock %}
|
13 |
|
|
{% block content %}
|
14 |
aa31cdc8
|
Jérôme Schneider
|
<div id="tabs-6">
|
15 |
|
|
<table class="basic">
|
16 |
|
|
<thead>
|
17 |
|
|
<tr> <th>Date</th> <th>Pointage</th> <th>Type d'acte</th> <th>Intervenants</th> <th>Commentaire</th> </tr>
|
18 |
|
|
</thead>
|
19 |
|
|
<tbody>
|
20 |
bba85766
|
Serghei MIHAI
|
{% for event, state, missing_participants, inactive_participants in next_rdvs %}
|
21 |
aa31cdc8
|
Jérôme Schneider
|
<tr>
|
22 |
54318d2c
|
Serghei MIHAI
|
<td><span class="date">{{ event.start_datetime|date:"SHORT_DATE_FORMAT" }}</span>
|
23 |
|
|
<span class="time">{% firstof event.start_datetime|date:"H:i"|title %}</span>{% if missing_participants or inactive_participants %} <span title="Au moins un intervenant est absent ou ne fait plus partie du service" class="icon-warning-sign absent"></span>{% endif %}</td>
|
24 |
aa31cdc8
|
Jérôme Schneider
|
<td>{% if state %}{% if state.state_name != 'VALIDE' %}<strong>{% endif %}{{ state }}{% if state.state_name != 'VALIDE' %}</strong>{% endif %}{% else %}Non pointé.{% endif %}</td>
|
25 |
|
|
<td>{{ event.act_type }}</td>
|
26 |
|
|
<td class="width-limited">{% for participant in event.participants.all %}
|
27 |
bba85766
|
Serghei MIHAI
|
{% if participant in missing_participants %}
|
28 |
|
|
<span class="absent" title="Absent">
|
29 |
aa31cdc8
|
Jérôme Schneider
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
30 |
bba85766
|
Serghei MIHAI
|
</span>
|
31 |
|
|
{% elif participant in inactive_participants %}
|
32 |
|
|
<span class="inactive" title="Ne fait plus parti du service">
|
33 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
34 |
|
|
</span>
|
35 |
|
|
{% else %}
|
36 |
|
|
{{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
|
37 |
|
|
{% endif %}
|
38 |
aa31cdc8
|
Jérôme Schneider
|
{% endfor %}</td>
|
39 |
|
|
{% if event.act.id %}
|
40 |
|
|
<td class="width-limited">{{ event.act.comment }}</td>
|
41 |
|
|
{% else %}
|
42 |
|
|
<td class="width-limited">{{ event.description }}</td>
|
43 |
|
|
{% endif %}
|
44 |
|
|
</tr>
|
45 |
|
|
{% endfor %}
|
46 |
|
|
</tbody>
|
47 |
|
|
</table>
|
48 |
|
|
</div>
|
49 |
54318d2c
|
Serghei MIHAI
|
{% endblock %}
|
50 |
|
|
{% block print-actions %}filter_date_bounds('#ui-tabs-6', '.basic td span.date');{% endblock %}
|