Projet

Général

Profil

Télécharger (2,23 ko) Statistiques
| Branche: | Tag: | Révision:

calebasse / calebasse / dossiers / templates / dossiers / patientrecord_tab6_next_rdv.html @ b057fff0

1
{% 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
<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
    {% for event, state, missing_participants, inactive_participants in next_rdvs %}
21
    <tr>
22
      <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
      <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
        {% if participant in missing_participants %}
28
        <span class="absent" title="Absent">
29
          {{ participant.first_name }} <span class="lastname">{{ participant.last_name }}</span>
30
        </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
        {% 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
{% endblock %}
50
{% block print-actions %}filter_date_bounds('#ui-tabs-6', '.basic', 'td span.date');{% endblock %}
(23-23/33)