Project

General

Profile

Download (1.91 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / agenda / templates / agenda / agendas-therapeutes.html @ fcfb4f5b

1
{% extends "agenda/base.html" %}
2

    
3
{% block body-class %}{{ block.super }} no-left-column{% endblock %}
4

    
5
{% block appbar %}
6
<h2>Tous les agendas thérapeutes du service - {{ date|date:"DATE_FORMAT" }}</h2>
7
<a href="..">Retourner à l'agenda</a>
8
<button id='print-button'>Imprimer</button>
9
{% endblock %}
10

    
11
{% block agenda-content %}
12
{% for worker_agenda in workers_agenda %}
13
{% if worker_agenda.appointments %}
14
<div class="worker-agenda">
15
<h2>Planning de {{ worker_agenda.worker.display_name }}</h2>
16
<h3>{{ date|date:"DATE_FORMAT" }}</h3>
17

    
18
<span class="remarque">Remarque :</span>
19

    
20
<table>
21
 <thead>
22
  <tr> <th>Heure</th> <th>Durée</th> <th></th> <th>Absence</th>
23
       <th>Type d'acte</th> <th>Commentaire</th> <th>Thérapeutes</th> </tr>
24
 </thead>
25
 <tbody>
26
   {% for appointment in worker_agenda.appointments %}
27
   <tr>
28
    <td class="col-time">{{ appointment.begin_hour }}</td>
29
    <td class="col-duration">{% if appointment.length %}{{ appointment.length }}min{% endif %}</td>
30
    <td class="col-record-id">{% if appointment.patient_record_id %}
31
      {{ appointment.patient_record_paper_id }}<br/>
32
      ({{ appointment.patient_record_id }}){% endif %}
33
    </td>
34
    <td> {% if appointment.act_absence %}{{ appointment.act_absence }}{% endif %}</td>
35
    <td> {% if appointment.act_type %}{{ appointment.act_type }}{% endif %}</td>
36
    <td> {% if appointment.description %}{{ appointment.description }}{% endif %}</td>
37
    <td> {% for worker_code in appointment.workers_code %}
38
          {{ worker_code }}<br/>
39
         {% endfor %}
40
    </td>
41
   </tr>
42
   {% endfor %}
43
 </tbody>
44
</table>
45

    
46
<div class="summary">
47
RDV :      {{ worker_agenda.summary.rdv }} —
48
Présence : {{ worker_agenda.summary.presence }} —
49
Absence :  {{ worker_agenda.summary.absence }} —
50
Doubles :  {{ worker_agenda.summary.doubles }} —
51
Validés :  {{ worker_agenda.summary.valides }}
52
</div>
53

    
54
</div> <!-- .worker-agenda -->
55

    
56
{% endif %}
57
{% endfor %}
58

    
59
{% endblock %}
60

    
(2-2/13)