Project

General

Profile

« Previous | Next » 

Revision b84e2e49

Added by Frédéric Péters about 13 years ago

agenda: display phone numbers in appointments (#2169)

View differences:

calebasse/agenda/templates/agenda/index.html
</div>
{% endif %}
{% if appointment.patient_record_id %}
<p class="phones">Téléphone(s) :
{% for address in appointment.patient.addresses.all %}
{% if address.place_of_life %}
<span title="{{ address.number }} {{ address.street }}" class="icon-home-space">{{ address.phone }}</span>
{% for contact in address.patientcontact_set.all %}
<span title="{{ contact.first_name }} {{ contact.last_name|upper }}" class="icon-user-space">{{ contact.mobile }}</span>
{% endfor %}
{% endif %}
{% endfor %}
</p>
<a href="/{{ service }}/dossiers/{{ appointment.patient_record_id }}/view" target="_blank">Dossier patient</a> -
<a href="/{{ service }}/dossiers/{{ appointment.patient_record_id }}/view#tab=5" target="_blank">Prochains rendez-vous</a> -
<a href="#">Convoquer patient</a>

Also available in: Unified diff