{% for std in students %} {{ include('classroom/partials/reportcard_header.html.twig') }}
{% 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 %}

{% if room.level.cycle.section.name == "Francophone" %} Nom {% else %} Name {% endif %} : {{ std.lastname|raw }} {{ std.firstname|raw }}

{% if room.level.cycle.section.name == "Francophone" %} Né(e) le    :    {% if std.birthday %} {{ std.birthday|date('d-m-Y') }} {% endif %} {% else %} Born on   :    {% if std.birthday %} {{ std.birthday|date('Y-m-d') }} {% endif %} {% endif %}
{% if room.level.cycle.section.name == "Francophone" %} à    {% else %} at    {% endif %} :    {{ std.birthplace|raw }}

Sexe: {% if std.gender %} F {% else %} M {% endif %}

{% if room.level.cycle.section.name == "Francophone" %} {{ year.wording |raw }}    /    {{ quater.wording |raw }} {% else %} {{ year.wording }}    /    {{ quater.wording |raw }} {% endif %}

{% if room.level.cycle.section.name == "Francophone" %} Matricule {% else %} reg.number {% endif %} {{ std.matricule }}


{% if room.level.cycle.section.name == "Francophone" %} Classe {% else %} class {% endif %} : {{ room.name }}


{% set totalCoefSeq1 = 0 %} {# Total global des coefficients seq1#} {% set totalNCoefSeq1 = 0 %} {# Total global des produits Note * coefficient seq1 #} {% set moyModSeq1 = 0 %} {# Moyenne Modulaire seq1 #} {% for module in room.modules %} {% set totalCoefModSeq1 = 0 %} {# Total partiel des coefficients de la seq1 #} {% set totalNCoefModSeq1 = 0 %} {# Total partiel des produits Note * coefficient seq1 #} {% for course in module.courses %} {% set break = false %} {% for mark in datas %} {% if std.id == mark.std %} {% if module.id == mark.module %} {% if mark.crs == course.id and not break %} {% set break = true %} {% set totalCoefModSeq1 = totalCoefModSeq1 + course.coefficient * mark.weight %} {% set totalNCoefModSeq1 = totalNCoefModSeq1 + mark.value * course.coefficient * mark.weight %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endfor %} {% set totalNCoefSeq1 = totalNCoefSeq1 + totalNCoefModSeq1 %} {% set totalCoefSeq1 = totalCoefSeq1 + totalCoefModSeq1 %} {% endfor %}
DISCIPLINES {{ sequence.wording|upper }} Coef Note x Coef APPRECIATION RANG PROFESSEUR SIGNATURE
{{ course.wording }} {% if mark.weight!=0 %} {{ mark.value |round(2,'floor') }} {% else %} / {% endif %} {{ course.coefficient}} {% if mark.weight != 0 %} {{ mark.value * course.coefficient |round(2,'floor') }} {% else %} / {% endif %} {{ mark.teacher }}
{{ module.name }} {% if totalCoefModSeq1 != 0 %} {{ ( totalNCoefModSeq1 / totalCoefModSeq1)|round(2,'floor') }} {% else %} / {% endif %} {{ totalCoefModSeq1}} {{ totalNCoefModSeq1}}
MOY. ELEVE {% if totalCoefSeq1 != 0 %} {{ (totalNCoefSeq1 / totalCoefSeq1)|round(2,'floor') }} {% else %} / {% endif %} {{ totalCoefSeq1 }} {{ totalNCoefSeq1 }} {{ ranks[std.id] }} Moy. gen. {{ ( genMean )|round(2,'floor') }}
DECISION ET OBSERVATION OBSERVATION ET VISA DU CHEF D'ETABLISSEMENT
DISCIPLINE TRAVAIL
TBIEN BIEN ABIEN PASS






MBADOUMOU, le ___________________


LE PRINCIPAL
ABSENCES(h) {% if std.id in abscences|keys %} {{ abscences[std.id] }} {% endif %} FAIBLE INSS MED NUL
RETENUES APPRECIATION
AVERTISSEMENT TABLEAU D'HONNEUR   
BLAME CONDUITE ENCOURAGEMENT         
EXCLUSION FELICITATION     
SIGNATURE DU

PARENT
SIGNATURE DU

PROF. PRINC.
SIGNATURE DU

PREFET D'ETUDES









{% endfor %}