{% extends 'school/base_school.html' %} {% load static %} {% block title %}Admit Pass Management | STD Lab{% endblock %} {% block content %}

Admit Pass Management

Issue examination or event permits for students

Find Student

{% if students_found %}
{% for s in students_found %}
{% if s.photo %} {% else %}
{% endif %}
{{ s.name }}
ID: {{ s.pin }}
{% endfor %}
{% elif search_query %}
No matching students.
{% endif %}

Recent Issuances

{% for pass in recent_passes %}
{{ pass.student.name }}
{{ pass.title|truncatechars:20 }}
{% empty %}

No history available.

{% endfor %}
{% if selected_student %}
{% if selected_student.photo %} {% else %}
{% endif %}

{{ selected_student.name }}

ID: {{ selected_student.pin }} | {{ selected_student.student_class.name }}

Total Fees ৳{{ student_fee_summary.total_due }}
Outstanding ৳{{ student_fee_summary.outstanding }}
{% csrf_token %}
{% else %}

Selection Required

Please find and select a student from the sidebar to issue an Admit Pass.

{% endif %}
{% if request.GET.success_ap %}

Admit Pass Generated!

The academic admit pass for {{ selected_student.name }} has been recorded successfully. Ready to print.

PRINT PASS (A4 / HALF)
{% endif %} {% endblock %}