{% extends 'base.html'%} {% block title %} Clinic Dashboard Main {% endblock %} {% block content%}
{% include 'dashboards/clinic/side.html'%}
{% include 'dashboards/clinic/header.html'%}
{% include 'dashboards/alert/clinic-alert.html'%}

Dashboard

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 %}
{% if booking %}
{% for b in booking %}
{% 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|slice:50 }} ...

{% endfor %} {% else %}

No Bookings Yet

{% endif %}
Staff
Add Staff
{% if staff %}
{% for s in staff %}

{{s.first_name}} {{s.last_name}}

{{s.specialities}}

{{s.get_type_display}}

{{s.full_address}}

{% endfor %}
{% else%}

No Staff Yet

{% endif %}
Article List
Add Article
{% if post %} {% for p in post%}
{% if p.featured_image %} Shopping item {% endif %}
{{p.title}}
{{p.status|title}}
{% csrf_token %}
{% endfor %} {% else%}

No Articles Yet

{% endif %}
Product
Add Product
{% if product %}
{% for p in product %} {% endfor %}
Title Active Actions

{{p.title}}

{% if p.is_active %} Active {% else%} Inactive {% endif %}
{% csrf_token %}
{% else%}

No Product Yet

{% endif %}
{% include 'dashboards/footer.html'%} {% endblock %}