{% extends 'shared/base.html' %} {% load static %} {% load tz %} {% load app_filters %} {% block extrahead %} {% endblock %} {% block content %} {% csrf_token %}
{% include 'shared/welcome_section.html' with user=officer %}
Students

{{ total_students }}

Total Students

{{ active_students }}

Active

{{ new_students }}

New (30 days)

Courses

{{ total_courses }}

Total Courses

{{ active_courses }}

Active

Batches

{{ total_batches }}

{{ active_batches }}

Active

Leave Status

Pending

{{ pending_leaves }}

Approved

{{ approved_leaves }}

Rejected

{{ rejected_leaves }}
Recent Notices
{% if notices %}
{% for notice in notices %}
{{ notice.title }}
{{ notice.created_at|timesince }} ago

{{ notice.message }}

{% endfor %}
{% else %}
No recent notices.
{% endif %}
Leave Requests
{% if recent_leaves %}
{% for leave in recent_leaves %} {% endfor %}
Start Date End Date Message Status
{{ leave.start_date|date:"M d, Y" }} {{ leave.end_date|date:"M d, Y" }} {{ leave.message|truncatechars:50 }} {{ leave.get_status_display }}
{% else %}
No leave requests found.
{% endif %}
Student Management
{% for student in students|dictsort:"id" %} {% empty %} {% endfor %}
ID Student Details Contact Info Parent Details Course & Batch Status Actions
{{ student.id }}
{% if student.image %} {{ student.name }} {% endif %}
{{ student.name }} {% if student.gender %}
{{ student.gender }} {% endif %}
{{ student.phone }}
{% if student.email %} {{ student.email }}
{% endif %}
{% if student.parent_name %} {{ student.parent_name }}
{% endif %} {% if student.parent_phone %} {{ student.parent_phone }} {% endif %}
{% if student.course %} {{ student.course.name }} {% if student.course.code %}({{ student.course.code }}){% endif %} {% endif %}
{% for batch in student.batches.all %} {{ batch.name }} {% if not forloop.last %}, {% endif %} {% empty %} No batch assigned {% endfor %}
{{ student.status|default:"Not Set" }}
No students found
Batch Management
{% for batch in batches %} {% empty %} {% endfor %}
Name Year Status Students
{{ batch.name }} {{ batch.year|date:"Y"|default:"-" }} {{ batch.is_active|yesno:"Active,Inactive" }} {{ batch.students.count }}
No batches found
Course List
{% for course in courses %} {% endfor %}
Name Code Duration Type Status
{{ course.name }} {{ course.code|default:"-" }} {% if course.duration_type == "Semester" %} {{ course.duration }} years ({{ course.duration|multiply:2 }} semesters) {% else %} {{ course.duration }} years {% endif %} {{ course.duration_type }} {{ course.is_active|yesno:"Active,Inactive" }}

Profile Information

{% if officer.image %} {{ officer.name }} {% else %} Default User {% endif %}

{{ officer.name }}

{{ officer.id }} {{ officer.email }} {{ officer.phone }}

{{ officer.is_active|yesno:"Active,Inactive" }} {{ officer.designation }}
Personal Information
Full Name

{{ officer.name }}

Gender

{{ officer.gender|default:"Not provided" }}

Birth Date

{{ officer.birth_date|date:"M d, Y"|default:"Not provided" }}

Marital Status

{{ officer.marital_status|default:"Not provided" }}

Citizenship No.

{{ officer.citizenship_no|default:"Not provided" }}

Passport

{{ officer.passport|default:"Not provided" }}

Contact Information
Email Address

{{ officer.email|default:"Not provided" }}

Phone Number

{{ officer.phone|default:"Not provided" }}

Parent Name

{{ officer.parent_name|default:"Not provided" }}

Parent Phone

{{ officer.parent_phone|default:"Not provided" }}

Temporary Address

{{ officer.temporary_address|default:"Not provided" }}

Permanent Address

{{ officer.permanent_address|default:"Not provided" }}

Employment Information
Employee ID

{{ officer.id }}

Designation

{{ officer.designation|default:"Not provided" }}

Joining Date

{{ officer.joining_date|date:"M d, Y"|default:"Not provided" }}

Status

{{ officer.is_active|yesno:"Active,Inactive" }}

Leave Management

{{ pending_leaves }}

Pending Requests

{{ approved_leaves }}

Approved Requests

{{ rejected_leaves }}

Rejected Requests

Leave History
{% if recent_leaves %} {% for leave in recent_leaves %} {% endfor %} {% else %} {% endif %}
Start Date End Date Reason Status Applied On
{{ leave.start_date|date:"M d, Y" }} {{ leave.end_date|date:"M d, Y" }} {{ leave.message }} {{ leave.get_status_display }} {{ leave.created_at|date:"M d, Y" }}
No leave history available
Notices
{% for notice in notices %} {% empty %} {% endfor %}
Title Message Created At
{{ notice.title }} {{ notice.message|truncatechars:100 }} {{ notice.created_at|date:"M d, Y H:i" }}
No notices found
{% include 'shared/common_modals.html' with user=officer %} {% include 'admission_officer/modals.html' %} {% include 'shared/bottom_nav.html' with user=officer %} {% endblock content %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block extrascripts %} {{ block.super }} {% endblock %}