{% extends 'school/base_school.html' %} {% block title %}{% if is_edit %}Edit Student{% else %}Add Student{% endif %} | STD Lab{% endblock %} {% block page_title %}{% if is_edit %}Edit Student{% else %}Add New Student{% endif %}{% endblock %} {% block content %}
{% csrf_token %} {% if error %}
{{ error }}
{% endif %}

Basic Credentials

{% if student.photo %} {% endif %}

Guardian & Identification

{% for ft in fee_types %} {% empty %}
No fee models found. Add Fee Purpose →
{% endfor %}
{% for s in all_subjects %} {% empty %}
Select a class to see available subjects.
{% endfor %}

Contact & Address

{% if user.profile.school.is_individual_sms_enabled %}
Student SMS Status

If disabled, this student will not receive any attendance or admission alerts.

{% endif %}

Biometric Enrollment (ZKTeco Remote Scan)

Use this interface to trigger physical fingerprint enrollment mode directly on your selected ZKTeco device.

{% if user.is_superuser or user.profile.role == 'SCHOOL_ADMIN' %}
Biometric Debug Panel
  • Current School: {{ user.profile.school.name }} (Code: {{ user.profile.school.code }})
  • Individual SMS Enabled: {{ user.profile.school.is_individual_sms_enabled|yesno:"Yes,No" }}
  • Total Devices Passed: {{ devices|length }}
  • Devices List: {% if devices %} {% for d in devices %} [{{ d.name }} - S/N: {{ d.serial_number }} (Authorized: {{ d.is_authorized|yesno:"Yes,No" }}, Terminated: {{ d.is_terminated|yesno:"Yes,No" }})]{% if not forloop.last %}, {% endif %} {% endfor %} {% else %} No devices found in context! (Ensure devices are authorized and not terminated for this school in the admin panel). {% endif %}
{% endif %}
GO BACK
{% endblock %}