{% for std in students %}
REPUBLIQUE DU CAMEROUN
Paix - Travail - Patrie
*************
Ministére des enseignements secondaires
*************
Délégation Régionale du Centre
*************
Délégation Départementale de la n>
INSTITUT SECONDAIRE
BILINGUE BETHESDA
DISCIPLINE-PERSEVERANCE-SUCCES


BP : 31367 YDE
TEL : 699545124
REPUBLIC OF CAMEROON
Peace - Work - Fatherland
*************
Ministery of Secondary Education
*************
Regional Delegation of the Center
*************
MEFOU and AKONO Divisional Delegation
BETHESDA BILINGUAL
SECONDARY INSTITUTE


{% if std.profileImagePath is null %} {% else %} {% endif %}

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

{% 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 }}

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

{% if room.level.cycle.section.name == "Francophone" %} {{ year.wording }}    /    {{ quater.wording }} {% else %} {{ year.wording }}    /    {{ quater.wording }} {% 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 totalCoef1 = 0 %} {# Total global des coefficients seq1#} {% set totalCoef2 = 0 %} {# Total global des coefficients seq2#} {% set totalNCoefModule1 = 0 %} {# Total global des Note * coefficient seq1 #} {% set totalNCoefModule2 = 0 %} {# Total global des Note * coefficient seq2 #} {% set totalNCoefModuleTrim = 0 %} {# Total global des Note * coefficient Trim #} {% for module in room.modules %} {% set totalCoefModule1 =0 %} {# Total partiel des coefficients du module #} {% set NCoef1 =0 %} {% set totalCoefModule2 =0 %} {# Total partiel des coefficients du module #} {% set NCoef2 =0 %} {# Total partiel des Note * coefficient du module #} {% for course in module.courses %} {% set break = false %} {% for mark1 in dataseq1 %} {% if std.matricule == mark1.matricule %} {% if module.name == mark1.module %} {% if mark1.wording == course.wording and not break %} {% for mark in dataseq2 %} {% if std.matricule == mark.matricule %} {% if module.name == mark.module %} {% if mark.wording == course.wording and not break %} {% set break = true %} {% if mark.weight == 1 %} {% set totalCoefModule2 = totalCoefModule2 + course.coefficient %} {% set NCoef2 = NCoef2 + mark.valeur * course.coefficient %} {% endif %} {% endif %} {% endif %} {% endif %} {% endfor %} {% set break = true %} {% if mark1.weight == 1 %} {% set totalCoefModule1 = totalCoefModule1 + course.coefficient %} {% set NCoef1 = NCoef1 + mark1.valeur * course.coefficient %} {% endif %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endfor %} {% set totalNCoefModule1 = totalNCoefModule1 + NCoef1 %} {% set totalNCoefModule2 = totalNCoefModule2 + NCoef2 %} {% set totalCoef2 = totalCoef2 + totalCoefModule2 %} {% set totalCoef1 = totalCoef1 + totalCoefModule1 %} {% if totalCoefModule1 != 0 %} {% else %} {% endif %} {% if totalCoefModule2 != 0 %} {% else %} {% endif %} {% set totalNCoefModuleTrim = totalNCoefModuleTrim +(NCoef2+NCoef1)/2 %} {% endfor %} {% if totalCoef1 != 0 %} {% else %} {% endif %} {% if totalCoef2 != 0 %} {% else %} {% endif %} {% if ((totalCoef1 != 0) and (totalCoef2 != 0)) %} {% else %} {% endif %}
DISCIPLINE {{ sequence1.code }} COEF {{ sequence1.code }} *C {{ sequence2.code }} {{ sequence2.code }} *C {% if room.level.cycle.section.name == "Francophone" %} TRIM {% else %} QUATER {% endif %} APPR. {% if room.level.cycle.section.name == "Francophone" %} RANG {% else %} RANK {% endif %} {% if room.level.cycle.section.name == "Francophone" %} PROFESSEUR {% else %} TEACHER {% endif %} SIGNATURE
{{ course.wording }} {% if mark1.weight == 1 %} {{ mark1.valeur }} {% else %} / {% endif %} {{ course.coefficient }} {% if mark1.weight == 1 %} {{ mark1.valeur * course.coefficient }} {% else %} / {% endif %} {% if mark.weight == 1 %} {{ mark.valeur }} {% else %} / {% endif %} {% if mark.weight == 1 %} {{ mark.valeur * course.coefficient }} {% else %} / {% endif %} {% if (mark1.weight == 1) and (mark.weight == 1) %} {{ ((mark1.valeur + mark.valeur)/2)|round(2,'floor') }} {% else %} {% if (mark1.weight == 1) %} {{ mark1.valeur }} {% else %} {% if (mark.weight == 1) %} {{ mark.valeur }} {% else %} / {% endif %} {% endif %} {% endif %} {{ mark.teacher }}
{{ module.name }} {{ (NCoef1/totalCoefModule1)|round(2,'floor') }} /20 {{ totalCoefModule1 }} {{ NCoef1 }} {{ (NCoef2/totalCoefModule2)|round(2,'floor') }} /20 {{ NCoef2 }} {% if ((totalCoefModule1 != 0) and (totalCoefModule2 != 0)) %} {{ (((NCoef2/totalCoefModule2)+(NCoef1/totalCoefModule1))/2)|round(2,'floor') }} {% else %} {% endif %}
MOY. ELEVE
{{ (totalNCoefModule1 / totalCoef1)|round(2,'floor') }} /20 {{ totalCoef1 }} {{ (totalNCoefModule1)|round(2,'floor') }} {{ (totalNCoefModule2 / totalCoef2)|round(2,'floor') }} /20 {{ totalNCoefModule2 }} {{ (((totalNCoefModule1 / totalCoef1)+(totalNCoefModule2 / totalCoef2))/2)|round(2,'floor') }} /20 MOY G.              /20






{% endfor %}