{% extends 'base.html' %} {% block content %}
{% if messages %} {% for message in messages %} {% if message.tags == 'error' %} {% endif %} {% endfor %} {% endif %} {% if messages %} {% for message in messages %} {% if message.tags == 'success' %} {% endif %} {% endfor %} {% endif %} {% if vah %}
{% for appointment in vah %} {% if appointment.status == '0' %} {% else %} {% endif %} {% endfor %}
Appointment Number Doctor Name Consultancy fee Date of Appointment Time of Appointment Creation Date Status Action
{{appointment.appointmentnumber}} {{appointment.doctor_id.admin.first_name}} {{i.doctor_id.admin.last_name}} {{appointment.doctor_id.fee}} {{appointment.date_of_appointment}} {{appointment.time_of_appointment}} {{appointment.created_at}}Not Updated Yet{{ appointment.status}}
{% if appointment.status != 'Approved' and appointment.status != 'Canceled' %}
{% csrf_token %}
{% else %} Cannot cancel {% endif %}
{% else %}

No appointment history available.

{% endif %}
{% endblock %}