{% extends 'base.html'%} {% block title %} Doctor Dashboard | Main Dashboard {% endblock %} {% block content%}
{% include 'dashboards/doctor/side.html'%}
{% include 'dashboards/doctor/header.html'%}
{% include 'dashboards/alert/alert.html'%}
Products
{{product_count}}
Number Of Inquiry
{{total_inquiries}}
Booking
{{booking_count}}
Post
{{post_count}}
Activity Section
{% if review %}
Reviews

    {% for r in review %}
  • {{r.patient.first_name}} {{r.patient.last_name}}

    {{r.comment}}

  • {% endfor %}
{% endif %}
Bookings
{% if bookings %}
{% for b in bookings %}
{% if b.patient.profile_image.url %} {% endif %}

{{b.patient.first_name}} {{b.patient.last_name}}

{{b.patient.user.email}}

{% if b.status == 'confirmed' %} Confirmed {% elif b.status == 'rejected' %} Rejected {% else %} In Progress {% endif %}

Patient Notes: {{b.patient_note }}

{% else %}

No Bookings Yet

{% endif %}
Education & Experience
{% if request.user.doctor.is_profile_complete %} Add Education Or Experience {% endif %}
{% if edu_and_ex %} {% for ex in edu_and_ex%} {% endfor %}
Name Desc Actions

{{ex.name}}

{{ex.short_description}}

{% csrf_token %}
{% endif %}
Article List
{% if request.user.doctor.is_profile_complete %} Add Article {% endif %}
{% if post %} {% for p in post|slice:":2"%}
{{p.title}}
{{p.status|title}}
{% csrf_token %}
{% endfor %} {% endif %}
Hospital List
{% if request.user.doctor.is_profile_complete %} Add Hospital {% endif %}
{% if hospital %} {% for h in hospital%}
Shopping item
{{h.name}}
{% csrf_token %}
{% endfor %} {% endif %}
Availability
{% if request.user.doctor.is_profile_complete %} Add Availability {% endif %}
{% if availability %}
{% for a in availability%} {% endfor %}
Day Start Time End Time Available Actions

{{a.day}}

{{a.start_time}}

{{a.end_time}}

{% if a.available %} Active {% else%} Inactive {% endif %}
{% endif %}
Product
{% if request.user.doctor.is_profile_complete %} Add Product {% endif %}
{% if product %}
{% for p in product|slice:":3" %} {% endfor %}
Title Active Actions

{{p.title}}

{% if p.is_active %} Active {% else%} Inactive {% endif %}
{% csrf_token %}
{% endif %}
{% include 'dashboards/footer.html'%} {% include 'dashboards/doctor/modal.html'%} {% endblock %}