{% extends 'base.html.twig' %} {% block title %}Patients{% endblock %} {% block styles %} {{ parent() }} {% endblock %} {% block content %}

Patients

{% if is_granted('ROLE_HOSP_ADMIN') or is_granted('ROLE_DOC') or is_granted('ROLE_CHO') or is_granted('ROLE_DENT') or is_granted('ROLE_RECEP') %} {% endif %}
{% include 'parts/flash.html.twig' %} {% for patient in patients %} {% endfor %}
Sr. No. UH ID Full Name Date of Birth Aadhaar No. Status Date Created Actions
{{ loop.index }} {{ patient.uhId }} {{ patient.name }} {{ patient.dob|date('d/m/Y') }} {{ patient.adharNum }} {{ patient.isActive == '1' ? 'Active' : 'Blocked' }} {{ patient.createdAt|date('d/m/Y') }} {% if (is_granted('ROLE_HOSP_ADMIN') or is_granted('ROLE_DOC') or is_granted('ROLE_CHO') or is_granted('ROLE_DENT') or is_granted('ROLE_RECEP')) and patient.isAlive %} {% endif %} {% if patient.healthAddress != '' %} {# #} {% endif %}
{% endblock %} {% block scripts %} {{ parent() }} {% endblock %}