{% extends 'base/base.html' %} {% block title %} Walkin Patients {% endblock %} {% block stylesheets %} {% endblock stylesheets %} {% block content %}
{% for item in patientData %} {% endfor %} {% for item in patientData %} {% endfor %}
{% if messages %} {% for message in messages %} {% endfor %} {% endif %}

{% if request.user.userRole == 'Radiologist' or request.user.userRole == 'Pathologist' or request.user.userRole == 'Manager' %} {% else %} {% endif %}
{% for item in patientData %} {% endfor %}
Sr.No ID Name Panel CNIC Gender Contact Date Branch Credientials User Action
{{ forloop.counter }} {{ item.patientID}} {{ item.patientName }} {{ item.panel.gPanelName|default:"N/A" }} {{ item.patientCNIC|default:"N/A" }} {{ item.patientGender }} {{ item.patientContact }} {{ item.patientDateofEntry }} {% if item.branch %} {{item.branch.branchName}} {% else %} Nill {% endif %} {% if item.login_user %} {{item.login_user.username}}
[{{item.login_user.plain_password}}] {% else %} N/A {% endif %}
{{ item.userObject.username }}
({{ item.userObject.userRole }})

{% block javascripts %} {% endblock javascripts %} {% endblock content %}