Project

General

Profile

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

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

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.first_name }} <span class="lastname">{{ worker_agenda.worker.last_name }}</span></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>Libellé</th>
23
       <th>Absence</th>
24
       <th>Type d'acte</th> <th>Commentaire</th> <th>Intervenants</th> </tr>
25
 </thead>
26
 <tbody>
27
   {% for appointment in worker_agenda.appointments %}
28
   <tr>
29
    <td class="col-time">{{ appointment.begin_hour }}</td>
30
    <td class="col-duration">{% if appointment.length %}{{ appointment.length }}min{% endif %}</td>
31
    <td class="col-record-id">{% if appointment.patient_record_id %}
32
      {{ appointment.patient_record_paper_id }}<br/>
33
      ({{ appointment.patient_record_id }}){% endif %}
34
    </td>
35
    <td> {% if appointment.title %}{{ appointment.title }}{% endif %}</td>
36
    <td> {% if appointment.act_absence %}{{ appointment.act_absence }}{% endif %}</td>
37
    <td> {% if appointment.act_type %}{{ appointment.act_type }}{% endif %}</td>
38
    <td> {% if appointment.description %}{{ appointment.description }}{% endif %}</td>
39
    <td> {% for worker in appointment.workers %}
40
          <span class="lastname">{{ worker.last_name }}</span> {{ worker.first_name }}<br/>
41
         {% endfor %}
42
    </td>
43
   </tr>
44
   {% endfor %}
45
 </tbody>
46
</table>
47

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

    
56
</div> <!-- .worker-agenda -->
57

    
58
{% endif %}
59
{% endfor %}
60

    
61
{% endblock %}
(2-2/16)