{% extends 'shared/base.html' %} {% load static %} {% load tz %} {% load app_filters %} {% block extrahead %} {% endblock %} {% block content %} {% csrf_token %}
Total Students
Active
New (30 days)
Total Courses
Active
Active
Pending
{{ pending_leaves }}Approved
{{ approved_leaves }}Rejected
{{ rejected_leaves }}{{ notice.message }}
| 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 }} |
| ID | Student Details | Contact Info | Parent Details | Course & Batch | Status | Actions |
|---|---|---|---|---|---|---|
| {{ student.id }} |
{% if student.image %}
{{ 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 | ||||||
| Name | Year | Status | Students |
|---|---|---|---|
| {{ batch.name }} | {{ batch.year|date:"Y"|default:"-" }} | {{ batch.is_active|yesno:"Active,Inactive" }} | {{ batch.students.count }} |
| No batches found | |||
| 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" }} |
{% endif %}
{{ officer.id }} {{ officer.email }} {{ officer.phone }}
{{ officer.name }}
{{ officer.gender|default:"Not provided" }}
{{ officer.birth_date|date:"M d, Y"|default:"Not provided" }}
{{ officer.marital_status|default:"Not provided" }}
{{ officer.citizenship_no|default:"Not provided" }}
{{ officer.passport|default:"Not provided" }}
{{ officer.email|default:"Not provided" }}
{{ officer.phone|default:"Not provided" }}
{{ officer.parent_name|default:"Not provided" }}
{{ officer.parent_phone|default:"Not provided" }}
{{ officer.temporary_address|default:"Not provided" }}
{{ officer.permanent_address|default:"Not provided" }}
{{ officer.id }}
{{ officer.designation|default:"Not provided" }}
{{ officer.joining_date|date:"M d, Y"|default:"Not provided" }}
{{ officer.is_active|yesno:"Active,Inactive" }}
Pending Requests
Approved Requests
Rejected Requests
| 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 | ||||
| Title | Message | Created At |
|---|---|---|
| {{ notice.title }} | {{ notice.message|truncatechars:100 }} | {{ notice.created_at|date:"M d, Y H:i" }} |
| No notices found | ||