{% extends "base.html.twig" %} {% block BeforeAnyCSSFile %} {% for file in encore_entry_css_files('select2__init') %} {% endfor %} {% endblock %} {% block ExtraCSSFiles %} {% endblock %} {% set pagename = 'Mark Student Attendance' | trans %} {% set addBtnTitle = 'Daily Attendance Report' | trans %} {% set addBtnLink = path('daily_attendance') %} {% block MainContent %} {# filters of the attendance #}

{{ 'Mark Attendance'|trans }}

{#active class of active sessions - when class is selected then enrolled users are load accordingly#} {% set ColsClass = 'col-lg-4 col-md-4 col-sm-6 col-xs-12' %}
{# list of all classes of active sessions#}
{# list of subject which is in the class #}
{# Mark attendance of the date of #}
{% set enabled__statuses_for_attendance = getAppSetting('attendance_enable_status') %} {% if enabled__statuses_for_attendance is iterable %}
{#attendance status#} {% for key, status in attendance__status %} {#if these status are enabled form the setttings.#} {% if in_array(status.id, enabled__statuses_for_attendance) %} {% endif %} {% endfor %}
{% endif %}
{% include "attendance/___list__addAttendance.html.twig" with {'__user_list':__user_list} %}
{# save changes #}
{% endblock %} {% block ExtraJsFIles %} {% for file in encore_entry_js_files('attendance') %} {% endfor %} {% endblock %} {% block documentation %}
Mark Student Attendance?

A1. See Fig, To Check Flow
  • Step 1 is about to add {{ 'Attendance satuts'|trans }} Complete Step 1
  • Step 2 is about to enable {{ 'Attendance satuts'|trans }} from Settings Complete Step 2, Go to the Setting Page & then Go to {{ 'Attendance Setting' | trans }} Tab
  • Step 3 is about Mark {{ 'Attendance'|trans }}Complete Step 3

To Mark Student Attendance:

Why Subject Dropdown Disabled or Hide when we select the Class from Class DropDown?

If you remember, While adding or editing a Class, system ask {{ 'Attendance type' | trans }} from you, You select the Class wise or Subject wise. See Fig
If Selected Class Attendance is Class wise then subject Dropdown will hide/Disable
If Selected Class Attendance is Subject wise then Subject Dropdown will visible/Enable

Load Student button will loads the Student of Specific Class or Subject which is selected from above drop-downs, Under the Load button you will see the some Attendance status, If these are not available, then Please read next Heading under this paragraph
If you select the status one of them, then all student marked by that status & you can save the their attendance in one go.

What are the Attendance Status?

Attendance Status are , Present, Absent, Sick Leave and other, these status are totally customized able & can define by yourself.var

Why you're having - Please select at least two Attendance Status from the Settings, {{ 'Warning'|trans }}?

This warning meant, Attendance Status are not enabled by the Settings, To enable from setting Go to App Settings & Go to the Attendance Setting & select Attendance status from the {{ 'Visisble attendance status'|trans }} See Fig

If your App Setting , Attendance Setting Tab, is not showing {{ 'Visisble attendance status'|trans }} Dropdown, then Please click on the link {{ 'Add Attendance status' | trans }} & system will redirect to the new page, where you can add the Attendance Status See Fig
Add new Status & Go back to the Settings Page and select the Attendance Status & you will able to Mark Attendance of Student.

Attendance Options?

Attendance Widget provide multiple options:

To, see more options click on the eye button which is place over the Attendnace Widget at top right corner! See Fig

{% endblock %}