{% extends "core/base_print.html" %} {% load static i18n cropping data_helpers week_helpers %} {% block page_title %} {% trans "Class register:" %} {{ group.name }} {% endblock %} {% block extra_head %} {% endblock %} {% block content %}

{% trans 'Class register' %}

{% static "img/aleksis-banner.svg" as aleksis_banner %} {{ request.site.preferences.general__title }} – Logo

{{ group.name }}

{% trans 'Owners' %}: {{ group.owners.all|join:', ' }}

{% trans 'Printed on' %} {{ today }}


{% blocktrans %} This printout is intended for archival purposes. The main copy of the class register is stored in the AlekSIS School Information System. {% endblocktrans %}

{% blocktrans %} Copies of the class register, both digital and as printout, must only be kept inside the school and/or on devices authorised by the school. {% endblocktrans %}

{% blocktrans %} The owner of the group and the headteacher confirm the above, as well as the correctness of this printout. {% endblocktrans %}

{% trans 'Owners' %}
{% trans 'Headteacher' %}
 

{% trans 'Persons in group' %} {{ group.name }}

{% for person in persons %} {% endfor %}
{% trans 'No.' %} {% trans 'Last name' %} {% trans 'First name' %} {% trans 'Sex' %} {% trans 'Date of birth' %} {% trans 'Absences' %} {% trans 'Unexcused' %} {% trans 'Tard.' %}
{{ forloop.counter }} {{ person.last_name }} {{ person.first_name }} {{ person.get_sex_display }} {{ person.date_of_birth }} {{ person.absences_count }} {{ person.unexcused }} {{ person.tardiness }}'
 
{% if group.lessons.all %}

{% trans 'Teachers and lessons in group' %} {{ group.name }}

{% for lesson in group.lessons.all %} {% endfor %}
{% trans 'Subject' %} {% trans 'Teacher' %} {% trans 'Lesson start' %} {% trans 'Lesson end' %} {% trans 'Per week' %}
{{ lesson.subject.name }} {{ lesson.teachers.all|join:', ' }} {{ lesson.date_start }} {{ lesson.date_end }} {{ lesson.lesson_periods.count }}
 
{% endif %} {% if group.child_groups.all %}

{% trans 'Teachers and lessons in child groups' %}

{% for child_group in group.child_groups.all %} {% for lesson in child_group.lessons.all %} {% endfor %} {% endfor %}
{% trans 'Group' %} {% trans 'Subject' %} {% trans 'Teacher' %} {% trans 'Lesson start' %} {% trans 'Lesson end' %} {% trans 'Per week' %}
{{ child_group.name }} {{ lesson.subject.name }} {{ lesson.teachers.all|join:', ' }} {{ lesson.date_start }} {{ lesson.date_end }} {{ lesson.lesson_periods.count }}
 
{% endif %} {% for person in persons %}

{% trans 'Personal overview' %}: {{ person.last_name }}, {{ person.first_name }}

{% blocktrans %}Contact details{% endblocktrans %}
{% if person.photo %} {{ person.first_name }} {{ person.last_name }} {% else %} {{ person.first_name }} {{ person.last_name }} {% endif %} person {{ person.first_name }} {{ person.additional_name }} {{ person.last_name }}
face {{ person.get_sex_display }}
home {{ person.street }} {{ person.housenumber }} {{ person.postal_code }} {{ person.place }}
phone {{ person.phone_number }} {{ person.mobile_number }}
email {{ person.email }}
cake {{ person.date_of_birth|date }}
{% if personal_note_filters %}
{% trans 'Statistics on remarks' %}
{% for note_filter in personal_note_filters %} {% with "_personal_notes_with_"|add:note_filter.identifier as identifier %} {% endwith %} {% endfor %}
{% trans 'Description' %} {% trans 'Count' %}
{{ note_filter.description }}{{ person|get_dict:identifier }}
{% endif %}
{% trans 'Absences and tardiness' %}
{% trans 'Absences' %} {% trans 'Unexcused' %} {% trans 'Tardiness' %}
{{ person.absences_count }} {{ person.unexcused }} {{ person.tardiness }}'
{% trans 'Relevant personal notes' %}
{% for note in person.personal_notes.all %} {% if note.absent or note.late or note.remarks %} {% period_to_date note.week note.lesson_period.period as note_date %} {% endif %} {% endfor %}
{% trans 'Date' %} {% trans 'Pe.' %} {% trans 'Subj.' %} {% trans 'Te.' %} {% trans 'Absent' %} {% trans 'Tard.' %} {% trans 'Remarks' %}
{{ note_date }} {{ note.lesson_period.period.period }} {{ note.lesson_period.get_subject.short_name }} {{ note.lesson_period.get_teachers.first.short_name }} {% if note.absent %} {% trans 'Yes' %} {% if note.escused %} ({% trans 'e' %}) {% endif %} {% endif %} {% if note.late %} {{ note.late }}' {% endif %} {{ note.remarks }}
 
{% endfor %} {% for week in weeks %}

{% trans 'Lesson documentation for week' %} {{ week.week }}

{% for day in week %} {% with periods_by_day|get_dict:day as periods %} {% for period, documentations, notes, substitution in periods %} {% if forloop.first %} {% endif %} {% endfor %} {% endwith %} {% endfor %}
{% trans 'Pe.' %} {% trans 'Subj.' %} {% trans 'Lesson topic' %} {% trans 'Homework' %} {% trans 'Notes' %} {% trans 'Te.' %}
{{ day }}{{ period.period.period }} {% if substitution %} {% include "chronos/partials/subs/subject.html" with type="substitution" el=substitution %} {% else %} {% include "chronos/partials/subject.html" with subject=period.lesson.subject %} {% endif %} {% if substitution.cancelled %} {% trans 'Lesson cancelled' %} {% else %} {{ documentations.0.topic }} {% endif %} {{ documentations.0.homework }} {% for note in notes %} {% if note.absent %} {{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}. {% if note.excused %} ({% trans 'e' %}) {% endif %} {% endif %} {% if note.late %} {{ note.person.last_name }}, {{ note.person.first_name|slice:"0:1" }}. ({{ note.late }}′) {% if note.excused %} ({% trans 'e' %}) {% endif %} {% endif %} {% endfor %} {% if documentations.0.topic %} {{ substitution.teachers.first.short_name|default:period.lesson.teachers.first.short_name }} {% endif %}
 
{% endfor %} {% endblock %}