{% 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 = 'Guardians' | trans %} {% set addBtnTitle = 'Add new Guardian?' | trans %} {% set addBtnLink = path('add_guardian') %} {% block MainContent %} {# List of the students #}
{{ 'Name'|trans }} | {{ 'Students'|trans }} | {{ 'Phone'|trans }} | {{ 'Email'|trans }} | {{ 'Relation Ship'|trans }} | {{ 'Gender'|trans }} | {{ '#'|trans }} |
---|---|---|---|---|---|---|
{{ guardian.getFullName }} |
{% for student in guardian.getStudentReference.toArray %}
{{ student.getFullName }}
{% endfor %} |
{{ guardian.getPhone }} | {{ guardian.getEmail }} | {{ guardian.getGuardianRelationInWords }} | {% if guardian.gender == 1 %}{% elseif guardian.gender == 2 %}{% else %} - {% endif %} |
Here will see the List of All Guardians & the Details of Students who are attached to the Guardian, The Detail information, that we see
To Add New Guaridan, You've to Click on the Add Guardian button which behind the Documentation Button
{% endblock %}