dossiers: display acts losts or in double as present in patient appointments history (fixes #3136).

This commit is contained in:
Mikaël Ates 2013-07-05 12:47:50 +02:00
parent 97980aaaa6
commit fd540b7ee3
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
{% for act, state, missing_workers in last_rdvs %}
<tr>
<td>{{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time|date:"H:i" }}{% if missing_workers %} <span title="Au moins un intervenant est absent" class="icon-warning-sign absent"></span>{% endif %}</td>
<td>{% if state %}{% if act.is_absent %}<strong>{% endif %}{{ state }}{% if act.is_absent %}</strong>{% endif %}{% else %}Non pointé.{% endif %}</td>
<td>{% if state %}{% if act.is_absent %}<strong>{% endif %}{% if state.state_name == 'ACT_DOUBLE' or state.state_name == 'ACT_LOST' %}Présent ({{ state }}){% else %}{{ state }}{% endif %}{% if act.is_absent %}</strong>{% endif %}{% else %}Non pointé.{% endif %}</td>
<td>{{ act.act_type }}</td>
<td class="width-limited">{% for doctor in act.doctors.all %}
{% if doctor in missing_workers %}<span class="absent" title="Absent">{% endif %}