{% extends 'appoint/layout.html' %} {% block Title %}{{ customer.pk }}{% endblock %} {% block HeaderTitle %} To main {% endblock %} {% block BodyContent %}

{{ customer.first_name }}

{{ customer.last_name }}


{% if appointment_list_past %}

Past appointments:

{% for appoint in appointment_list_past %}

{{ appoint.date|date:"j N Y" }}, {{ appoint.start_time|time:"H:i" }} - {{ appoint.end_time|time:"H:i" }} : {{ appoint.doctor }} ({{ appoint.doctor.specialization }})

{% endfor %} {% endif %} {% if appointment_list_present %}

Today appointments:

{% for appoint in appointment_list_present %}

{{ appoint.date|date:"j N Y" }}, {{ appoint.start_time|time:"H:i" }} - {{ appoint.end_time|time:"H:i" }} : {{ appoint.doctor }} ({{ appoint.doctor.specialization }})

{% endfor %} {% endif %} {% if appointment_list_future %}

Future appointments:

{% for appoint in appointment_list_future %}

{{ appoint.date|date:"j N Y" }}, {{ appoint.start_time|time:"H:i" }} - {{ appoint.end_time|time:"H:i" }} : {{ appoint.doctor }} ({{ appoint.doctor.specialization }})

{% endfor %} {% endif %}
{% endblock %}