{% csrf_token %} Visitor Homepage {% for obj in Visitor %} {% if request.user.username == obj.CNIC %}
Log out

Welcome, Mr. {{obj.last_name}}

Name: {{obj.first_name}} {{obj.last_name}}

ID: {{obj.CNIC}}

Contact Number: {{obj.contact_number}}

Inmate Visiting: {{obj.Inmate_visting}}

{% if obj.approval_status == null %}

Approval Status: pending...

Stay tuned. We will keep you updated.

{% elif obj.approval_status == True %}

Approval Status: approved

Time Allocated: {{obj.Visit_date}}

Please Ensure that you arrive at the Facility 30 minutes before time.

{% elif obj.approval_status == False %}

Time Allocated: Rejected

To receive notification regarding the reason for rejection,
please contact us at our email PMS@gov.pk.

{% endif %}
{% endif %} {% endfor %}