Révision 97fbc132
Ajouté par Mikaël Ates il y a plus de 9 ans
calebasse/dossiers/templates/dossiers/quotations.html | ||
---|---|---|
48 | 48 |
</div> |
49 | 49 |
<div class="content"> |
50 | 50 |
<table id="dossiers" class="main screen-only"> |
51 |
<thead> |
|
52 |
<tr> |
|
53 |
<th colspan="2">N° dossier |
|
54 |
</th><th rowspan="2">Nom</th> |
|
55 |
<th rowspan="2">Prénom</th> |
|
56 |
<th rowspan="2">Date de naissance</th> |
|
57 |
<th rowspan="2">État du dossier</th> |
|
58 |
<th rowspan="2">Date du prochain rendez-vou</th> |
|
59 |
<th rowspan="2">Date du dernier rendez-vous</th> |
|
60 |
<th rowspan="2">Mises</th> |
|
61 |
<th rowspan="2">ANAP</th> |
|
62 |
</tr> |
|
63 |
<tr> |
|
64 |
<th>papier</th> |
|
65 |
<th>inform.</th> |
|
66 |
</tr> |
|
67 |
</thead> |
|
68 |
<tbody> |
|
69 |
|
|
70 |
{% for patient_record in patient_records %} |
|
71 |
<tr style="display: table-row;" class="pr-line {{ patient_record.state_class }}" data-link="{{ patient_record.object.id }}/view"> |
|
72 |
<td>{{ patient_record.object.paper_id|default_if_none:"" }}</td> |
|
73 |
<td>{{ patient_record.object.id }}</td> |
|
74 |
<td><span class="lastname">{{ patient_record.object.last_name }}</span></td> |
|
75 |
<td>{{ patient_record.object.first_name }}</td> |
|
76 |
<td>{{ patient_record.object.birthdate|date:"d-m-Y" }}</td> |
|
77 |
<td class="{{ patient_record.state_class }}">{{ patient_record.state }}</td> |
|
78 |
<td>{% if patient_record.next_rdv_date %} |
|
79 |
{{ patient_record.next_rdv_date|date:"d-m-Y, H:i" }} |
|
80 |
{% endif %} |
|
81 |
</td> |
|
82 |
<td>{% if patient_record.last_rdv_date %} |
|
83 |
{{ patient_record.last_rdv_date|date:"d-m-Y, H:i" }} |
|
84 |
{% endif %}</td> |
|
85 |
<td>{% if patient_record.mises %}<span class="icon-ok"></span>{% endif %}</td> |
|
86 |
<td>{% if patient_record.anap %}<span class="icon-ok"></span>{% endif %}</td> |
|
87 |
</tr> |
|
88 |
{% endfor %} |
|
89 |
|
|
90 |
</tbody> |
|
51 |
{% include "dossiers/quotations_patients_table_content.html" %} |
|
91 | 52 |
</table> |
92 | 53 |
|
93 | 54 |
{% if request.GET %} |
Formats disponibles : Unified diff
dossiers: add state date on quotation page and a bit of refactoring (fixes #5977).