Revision c544d2e2
Added by Mikaël Ates over 12 years ago
calebasse/dossiers/templates/dossiers/patientrecord_update.html | ||
---|---|---|
437 | 437 |
</div> |
438 | 438 |
|
439 | 439 |
<div id="tabs-5"> <!-- Actes passés --> |
440 |
|
|
441 |
<table class="main"> |
|
442 |
<thead> |
|
443 |
<tr> <th>Date</th> <th>Pointage</th> <th>Type d'acte</th> <th>Intervenants</th> </tr> |
|
444 |
</thead> |
|
445 |
<tbody> |
|
440 | 446 |
{% for act, state in last_rdvs %} |
441 |
<div class="frame"> |
|
442 |
<h3>{% firstof act.start_datetime|date:"d/m/y H:i" act.date %} {{ act.act_type }}</h3> |
|
443 |
<ul> |
|
444 |
{% if act.doctors.all %} |
|
445 |
<li><label>Praticiens :</label> |
|
446 |
{% for doctor in act.doctors.all %} |
|
447 |
<tr> |
|
448 |
<td>{% firstof act.start_datetime|date:"l d/m/y H:i"|title act.date %}</td> |
|
449 |
<td>{% if state %}<strong>{{ state }}</strong>{% else %}Non pointé.{% endif %}</td> |
|
450 |
<td>{{ act.act_type }}</td> |
|
451 |
<td>{% for doctor in act.doctors.all %} |
|
447 | 452 |
{{ doctor.first_name }} <span class="lastname">{{ doctor.last_name }}</span> |
448 |
{% endfor %} |
|
449 |
</li> |
|
450 |
{% endif %} |
|
451 |
{% if act.parent_event.room %} |
|
452 |
<li> |
|
453 |
Salle : {{ act.parent_event.room }} |
|
454 |
</li> |
|
455 |
{% endif %} |
|
456 |
<li>{% if state %}<strong>{{ state }}</strong>, le {{ state.created }}. |
|
457 |
{% else %} |
|
458 |
Non pointé. |
|
459 |
{% endif %} |
|
460 |
</li> |
|
461 |
</ul> |
|
462 |
</div> |
|
453 |
{% endfor %}</td> |
|
454 |
</tr> |
|
463 | 455 |
{% endfor %} |
456 |
</tbody> |
|
457 |
</table> |
|
464 | 458 |
</div> |
465 | 459 |
|
466 | 460 |
<div id="tabs-6"> <!-- Prochains rendez-vous --> |
461 |
|
|
462 |
<table class="main"> |
|
463 |
<thead> |
|
464 |
<tr> <th>Date</th> <th>Pointage</th> <th>Type d'acte</th> <th>Intervenants</th> </tr> |
|
465 |
</thead> |
|
466 |
<tbody> |
|
467 | 467 |
{% for event, state in next_rdvs %} |
468 |
<div class="frame"> |
|
469 |
<h3>{% firstof event.start_datetime|date:"d/m/y H:i" %} {{ event.act_type }}</h3> |
|
470 |
<ul> |
|
471 |
{% if event.participants.all %} |
|
472 |
<li><label>Praticiens :</label> |
|
473 |
{% for doctor in event.participants.all %} |
|
474 |
{{ doctor.first_name }} <span class="lastname">{{ doctor.last_name }}</span> |
|
475 |
{% endfor %} |
|
476 |
</li> |
|
477 |
{% endif %} |
|
478 |
{% if event.room %} |
|
479 |
<li> |
|
480 |
Salle : {{ event.room }} |
|
481 |
</li> |
|
482 |
{% endif %} |
|
483 |
<li>{% if state %}<strong>{{ state }}</strong>, le {{ state.created }}. |
|
484 |
{% else %} |
|
485 |
Non pointé. |
|
486 |
{% endif %} |
|
487 |
</li> |
|
488 |
</ul> |
|
489 |
</div> |
|
468 |
<tr> |
|
469 |
<td>{% firstof event.start_datetime|date:"l d/m/y H:i"|title %}</td> |
|
470 |
<td>{% if state %}<strong>{{ state }}</strong>{% else %}Non pointé.{% endif %}</td> |
|
471 |
<td>{{ event.act_type }}</td> |
|
472 |
<td>{% for doctor in event.participants.all %} |
|
473 |
{{ doctor.first_name }} <span class="lastname">{{ doctor.last_name }}</span> |
|
474 |
{% endfor %}</td> |
|
475 |
</tr> |
|
490 | 476 |
{% endfor %} |
477 |
</tbody> |
|
478 |
</table> |
|
491 | 479 |
</div> |
492 | 480 |
|
481 |
|
|
493 | 482 |
<div id="tabs-7"> |
494 | 483 |
<div class="frame"> |
495 | 484 |
<h3>Périodes de socialisation</h3> |
Also available in: Unified diff
dossiers: past and next appointment displayed in tables.