Project

General

Profile

« Previous | Next » 

Revision e5a478f6

Added by Jérôme Schneider over 11 years ago

agenda: use new address

View differences:

calebasse/agenda/templates/agenda/ajax-worker-tab.html
{% endif %}
{% for address in appointment.patient.addresses.all %}
{% if address.place_of_life %}
{% if address.phone %}<span title="{{ address.number }} {{ address.street }} {{ address.zip_code }} {{ address.city }}" class="icon-home-space">{{ address.phone }}</span>{% endif %}
{% if address.phone %}<span title="{{ address.display_name }}" class="icon-home-space">{{ address.phone }}</span>{% endif %}
{% for contact in address.patientcontact_set.all %}
{% if contact.id != appointment.patient.id %}
{% if contact.mobile %}<span title="{{ contact.first_name }} {{ contact.last_name|upper }} (Perso)" class="icon-user-space">{{ contact.mobile }}</span>{% endif %}

Also available in: Unified diff