{% extends 'appoint/layout.html' %} {% block Title %}{{ title }}{% endblock %} {% block HeaderTitle %} {{ appoint.doctor.get_full_name }} {% endblock %} {% block BodyContent %}

Appointment at:

{{ appoint.date|date:"j N Y" }}
{{ appoint.start_time|time:"H:i" }} - {{ appoint.end_time|time:"H:i" }}

Doctor:

{{ appoint.doctor.get_full_name }}

{% if not appoint.has_not_customer %}

Customer:

{{ appoint.customer.get_full_name }}


{% endif %}
{% if appoint.has_not_customer %} {% if not appoint.is_outdated %} {% if user.is_customer %} Make appoint {% endif %} {% if not user.is_authenticated %}

You should be authenticated to make appointment

Login {% endif %} {% else %}

Appoint is outdated

{% endif %} {% endif %} Choose another time {% endblock %}