{# extends page #} {% extends "base.html.twig" %} {% block BeforeAnyCSSFile %} {% for file in encore_entry_css_files('select2__init') %} {% endfor %} {% for file in encore_entry_css_files('dateRangepicker__init') %} {% endfor %} {% endblock %} {% set pagename = 'Students List' | trans %} {% set addBtnTitle = 'Add new Student?' | trans %} {% set addBtnLink = path('add_new_user') %} {# add page title#} {% block pageTitle %}{{ pagename }}{% endblock %} {# main content of page display here#} {% block MainContent %}
{% for messages in app.flashes('importCSVResult') %} {% set messagesList = twig_json_decode(messages) %} {% if messagesList is iterable %} {% for message in messagesList %} {% if message[0] is defined %} {% set message = message[0] %} {% endif %} {% include 'errors/server_errors.html.twig' with {errorMessage: message} %} {% endfor %} {% else %} {% include 'errors/server_errors.html.twig' with {errorMessage: messagesList} %} {% endif %} {% endfor %} {# Search block for the student list#}

{{ 'Filter Recrods'|trans }}  

{# form where to write text.#} {# {{ app.request.query.get('csE') is empty ? 'collapse' }} #}
{#active class of active sessions - when class is selected then enrolled users are load accordingly#} {% set ColsClass = 'col-lg-2 col-md-2 col-sm-4 col-xs-6' %} {# filters #}
{# list of all classes of active sessions#}
{# Order by column #}
{# Order #}
{# Student name list #}
{# Gurdian name #}
{# Active #}
{#Gender #}
{# Date Range filter #}
{# Search & Reset Button #}
 
{# List of the students #}
{# list of student #}
{# User's saved sections #} {% for u_l in UsersLIst %} {% set class = '' %} {% if u_l.getIsDeleted %} {% set class = 'bg-inactive' %} {% endif %} {# first and last name#} {# Guardian #} {# Enrollment #} {# status of user, is active or in active #} {# gender of user #} {# date of registration #} {# actions list #} {% endfor %}
{{ 'Name'|trans }} {{ 'Guardian'|trans }} {{ 'Session >> Class Enrollment'|trans }} {{ 'Active'|trans }} {{ 'Gender'|trans }} {{ 'DOR'|trans }} {{ '...'|trans }}
{{ u_l.id}} {{ u_l.fname }} {{ u_l.lname }} {% if u_l.guardians.toArray is not empty %} {% for guard in u_l.guardians.toArray %} {{ guard.fname }} {{ guard.lname }} / {{ guard.phone }} {% endfor %} {% endif %} {% if u_l.classSessionEnrolments.toArray is not empty %} {% for enroll in u_l.classSessionEnrolments.toArray %} {% if enroll.getClassSession.getSession.active is not empty and enroll.getClassSession.getSession.active and not enroll.getIsDeleted %} {{ enroll.getClassSession.getSession.getName }} >> {{ enroll.getClassSession.name }} {% if not enroll.getClassSession.getSession.active %} (Not Active) {% endif %}
{% endif %} {% endfor %} {% endif %}
{% if u_l.getIsActive() %} {{ 'Active' | trans }} {% else %} {{ 'InActive' | trans }} {% endif %} {% if u_l.gender == 1 %} {% elseif u_l.gender == 2 %} {% else %} - {% endif %} {{ u_l.getRegisterTime()|date(getAppSetting('date_format')) }}
{{ 'Name'|trans }} {{ 'Guardian'|trans }} {{ 'Session >> Class Enrollment'|trans }} {{ 'Active'|trans }} {{ 'Gender'|trans }} {{ 'DOR'|trans }} {{ '...'|trans }}
{% endblock %} {# extra js codes here.#} {% block ExtraJsFIles %} {% for file in encore_entry_js_files('dateRangepicker__init') %} {% endfor %} {% for file in encore_entry_js_files('UserList') %} {% endfor %} {% for file in encore_entry_js_files('select2__init') %} {% endfor %} {% endblock %} {# docs #} {% block documentation %}
Students?

Students are the Most Important Entity in the School, Here we can see the List of All registered, Active, In-Active, Deleted Students
Student List is showing:

Which Actions can be performed?
Student List Provide some actions that can be done over the Students, You can check those action on left of each student row!

Who to Add New Student?
You can see there is Add Student Button in the Page Header, Behind the Documentation button. Click on that Button to add the new Student.
Student can register by self, to enable Online Registration, Check out App Settings or Click on this link, {{ 'Enable online Student regisration'|trans }} & Go to the Application Setting Tab, Scroll Down the Page & You will see the {{ 'Enable online Student regisration'|trans }} Dropdown.

Who to Filter or Search Students?
You can see there is Filter Records Box over the Student List, To Search or Filter you've to click on that box so, a new shinny, Search Methods will apper. You can search on Students on following basics!
You can also sort Students on base of their ID (A Student App Unique Number)
{% endblock %}