{% extends 'layout/backEndLayout.html.twig' %} {% block title %} Présentation de l̀annee scolaire - {{ parent() }} {% endblock %} {% set totalP =0 %} {% if(payments is defined) %} {% for p in payments %} {% set totalP = totalP + p.amount %} {% endfor %} {% endif %} {% block content %}
{% if(sub is defined) %} {% endif %}

Identite de l eleve

{% if is_granted('ROLE_ADMIN') %} {% endif %}
Photo d identite {% if(file_exists is defined) %} {{ student.imageName }} {% endif %}
Matricule {{ student.matricule }}
Nom {{ student.lastName }}
Prénom {{ student.firstName }}
Sexe {% if student.gender %} F {% else %} M {% endif %}
Date de naissace {% if student.birthday %} {{ student.birthday|date('Y-m-d') }} {% endif %}
Lieu de naissance {{ student.birthplace }}
Père {{ student.fatherName }}
Mère {{ student.motherName }}
Contact 1 {{ student.primaryContact }}
Contact 2 {{ student.secondaryContact }}
Maladie particulière {{ student.particularDisease }}
Autres {{ student.otherInformations }}


Scolarité-Versements éffectués pour l'élève

{% if(payments is defined) %} {% set total =0 %} {% for p in payments %} {% set total = total + p.amount %} {% endfor %} {% endif %}
Date Montant
{% if p.updatedAt %} {{ p.updatedAt|date('Y-m-d') }} {% endif %} {{ p.amount }}
Total {{ total }}


Scolarité-Versements éffectués pour l'élève

{% if(installments is defined) %} {% set total =0 %} {% for p in installments %} {% set total = total + p.amount %} {% endfor %} {% endif %}
Rang Delaie Montant prevu Montant verse
{{ p.ranking }} {{ p.deadline|date('Y-m-d') }} {{ p.amount }} {% if( totalP >= total )%} {{ p.amount }} {% set totalP = totalP - p.amount %} {% else %} {{totalP}} {% endif %}
Total {{ total }}

Ancienneté de l'élève

{% if(student.subscriptions) %} {% for s in student.subscriptions %} {% endfor %} {% endif %}
Date d'inscription Année Classe Resultat
{% if s.createdAt %} {{ s.createdAt|date('Y-m-d H:m:s') }} {% endif %} {{ s.schoolYear.wording }} {{ s.classRoom.name }} {% if is_granted('ROLE_ADMIN') %} {{ s.verbalOfficialExamResult }} {% if(s.classRoom.apc) %} (Examen officiel) {% endif %} {% else %} {{ s.verbalOfficialExamResult }} {% if(s.classRoom.apc) %} (Examen officiel) {% endif %} {% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}