{% extends "base.html" %} {% block content %}

Patients

{% if session['role'] == 'admin' %} ➕ Add Patient {% endif %}
{% if patients %} {% for p in patients %} {% endfor %} {% else %} {% endif %}
ID Name Age Gender Contact No Disease Doctor Room
{{ p.patient_id }} {{ p.name }} {{ p.age }} {{ p.gender }} {{ p.contact_no }} {{ p.disease or '-' }} {{ p.doctor_name or '-' }} {{ p.room_type or '-' }}
No patient records found.
{% endblock %}