{% if request.user.userRole == 'Radiologist' or request.user.userRole == 'Pathologist' or request.user.userRole == 'Manager' %}
{% else %}
{% endif %}
| 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 }}) |
|