Project

General

Profile

Download (977 Bytes) Statistics
| Branch: | Tag: | Revision:
{% extends "agenda/base.html" %}

{% block appbar %}
<h2>Activité du service - {{ date|date:"DATE_FORMAT" }}</h2>
<a href="..">Retourner à l'agenda</a>
<button id='print-button'>Imprimer</button>
{% endblock %}

{% block agenda-content %}
<table class="main" id="activity">
<thead>
<tr> <th>Heure</th> <th>Durée</th> <th>Patient</th> <th>Thérapeute(s)</th> <th>Acte</th> </tr>
</thead>
<tbody>
{% for row_appointments in appointments_times %}
<tr class="hour-change">
<td class="hour" rowspan="{{ row_appointments.1.row }}">{{ row_appointments.0 }}</td>
{% for appointment in row_appointments.1.appointments %}
{% if forloop.counter != 1 %}
<tr>
{% endif %}
<td>{{ appointment.length }}</td>
<td>{{ appointment.patient }}</td>
<td>{{ appointment.therapists }}</td>
<td>{{ appointment.act }}</td>
</tr>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}

(8-8/8)