{% for std in reverse ? students|reverse : students %} {{ include('classroom/partials/reportcard_header.html.twig') }}
{% if room.level.cycle.section.name == "Francophone" %} BULLETIN SCOLAIRE {{ quater.wording |raw }}
ANNÉE SCOLAIRE : {{ year.wording }} {% else %} REPORT CARD {{ quater.wording |raw }}
SCHOOL YEAR : {{ year.wording }} {% endif %}
{% if(fileExists[std.id])%} {% set imagePath = absolute_url(asset('assets/images/student/'~ std.imageName )) %} {% else %} {% if std.gender %} {% set imagePath = absolute_url(asset('assets/images/student/female-default-avatar.jpg')) %} {% else %} {% set imagePath = absolute_url(asset('assets/images/student/male-default-avatar.jpg')) %} {% endif %} {% endif %} {{ std.lastname|raw }}    {{ std.firstname|raw }} {{ room.name|raw }}
{% if room.level.cycle.section.name == "Francophone" %} Né(e) le    :    {% if std.birthday %} {{ std.birthday|date('Y-m-d') }} {% endif %} {% endif %}
{% if room.level.cycle.section.name == "Francophone" %} à    {% else %} at    {% endif %} :    {{ std.birthplace|raw }}
{% if room.level.cycle.section.name == "Francophone" %} Genre {% else %} Gender {% endif %} : {% if std.gender %} F {% else %} M {% endif %} Effectif :{{ students|length }}
Id : {{ std.matricule }} Redoublant : {% if room.level.cycle.section.name == "Francophone" %} Professeur principal : {{ mainTeacher.fullName }} {% else %} Head teacher : {{ mainTeacher.fullName }} {% endif %}
{% if room.level.cycle.section.name == "Francophone" %} Parents / Tuteurs : {{ std.fatherName }} ({{ std.primaryContact }}) {% else %} Parents / Guardians : {{ mainTeacher.fullName }} {% endif %}
{% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %} {% set totalNCoef = 0 %} {% set totalCoef = 0 %} {% for mark in dataMarks %} {% if std.matricule == mark.matricule %} {% if loop.index < dataMarks|length %} {# Récupérer l'élément suivant #} {% set next_mark = dataMarks[loop.index] %} {% if next_mark.course_id == mark.course_id %} {% set totalNCoef = totalNCoef + mark.coefficient * (next_mark.value * next_mark.weight + mark.value * mark.weight)/2 %} {% set totalCoef = totalCoef + mark.coefficient * max(mark.weight ,next_mark.weight) %} {% else %} {% endif %} {% else %} {% endif %} {% if next_mark.course_id == mark.course_id %} {% endif %} {% endif %} {% endif %} {% endfor %}
MATIÈRES ET NOM DE L'ENSEIGNANT COMPÉTENCES ÉVALUÉES N/20 M/20 Coef M x coef COTE [Min – Max] Appréciations de l'enseignantSUBJECTS AND TEACHER NAME SKILLS ASSESSED N/20 M/20 Coef M x coef RANK [Min – Max] Teacher's Appreciations
{{ mark.wording }}
M/Mme   {{ mark.full_name }}
{% if "RAS" != mark.competence|trim %} {{ mark.competence }} {% else %} {% endif %} {{ mark.value }} {% if (mark.weight + next_mark.weight) != 0 %} {{ (mark.value + next_mark.value)/(mark.weight + next_mark.weight) }} {{ mark.coefficient }} {{ mark.coefficient * mark.value * max(mark.weight ,next_mark.weight) }} {{ mark.rank2 }} {{ mark.competence }} {{ mark.value }} {{ mark.coefficient * mark.value * mark.weight }} {{ mark.rank2 }}{{ mark.mini ~ '-' ~ mark.maxi }}
{% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %} {% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %} {% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %} {% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %} {% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %} {% if room.level.cycle.section.name == "Francophone" %} {% else %} {% endif %}
Discipline Travail de l’élève Profil de la classeDiscipline Student work Class profile
Abs. non. J. (h) {{ dataAbs[std.id] is defined ? dataAbs[std.id] : 0 }} Avertissement de conduite        TOTAL GENERAL        DÉCISION DU CONSEIL DE CLASSE Moy. Gen.Unj. Absences (h) {{ dataAbs[std.id] is defined ? dataAbs[std.id] : 0 }} Warning        GRAND TOTAL        CLASS COUNCIL DECISION Avg. Gen.{{ ( genMean )|round(2,'floor') }}
Abs just. (h)        Blâme de conduite        COEF. {{ totalCoef }} Promu (e) Just. Abs (h)        Blame        COEF. {{ totalCoef }} Promoted        [Min – Max] [{{minAvg}} – {{maxAvg}} ]
Retards (nbre de fois)        Exclusions (jours)        MOYENNE TRIMESTRIELLE {{(totalNCoef/totalCoef)|round(2,'floor') }} Redouble        Nombre de moyennesLate arrivals        Exclusions (days)        QUARTERLY AVERAGE {{(totalNCoef/totalCoef)|round(2,'floor') }} Redouble        Number of averages      
Consignes (h)        Exclusion définitive        COTE {% if ( std.id in ranks|keys ) %} {{ ranks[std.id] }} / {{ ranks|length }} {% endif %} Exclu(e) pour :        Taux de réussite       Instructions (h)        Permanent exclusion        RANK {% if ( std.id in ranks|keys ) %} {{ ranks[std.id] }} / {{ ranks|length }} {% endif %} Excluded for:        Success rate       
Appréciation du travail de l’élève


Visa du parent / Tuteur



Visa de l'enseignant pricipal



{{ mainTeacher.fullName }}
Le Chef d’établissement



Appreciation of student work


Parent/Guardian Visa



Head teacher visa



{{ mainTeacher.fullName }}
The Head of Establishment



{% if copyright %}
                {% if room.level.cycle.section.name == "Francophone" %} Conception et implementation du groupe Polyinformatique, Tel : +1(450)6267192, [email protected] {% else %} Design and implementation of Polyinformatique group, Tel: +1(450)6267192, [email protected] {% endif %}
{% endif %}


{% endfor %}