templates/classroom/recapitulatifseq.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <title>
  6.             Récapitulatif séquentiel
  7.                                                                                                                                             
  8.                                                                                                                                 
  9.                                                                                                                     
  10.                                                                                                         
  11.                                                                                             
  12.                                                                                 
  13.                                                                     
  14.                                                         
  15.                                             
  16.                                 
  17.                     
  18.         </title>
  19.         <link href="{{ asset('assets/css/pdf.css') }}" rel="stylesheet" type="text/css" />
  20.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/bootstrap.min.css') }}">
  21.     </head>
  22.     <body>
  23.         <header class="clearfix">
  24.             {{ include('classroom/partials/header.html.twig') }}
  25.             <div id="companyleft">
  26.                 <h4>
  27.                     <b>
  28.                         <span>
  29.                             {% if(room.level.cycle.section.name=="Francophone") %}
  30.                                 CLASSE 
  31.                                                                                                                                                                                                                                                                                                                                                                                                                         
  32.                                                                                                                                                                                                                                                                                                                                                                                             
  33.                                                                                                                                                                                                                                                                                                                                                             
  34.                                                                                                                                                                                                                                                                                                                             
  35.                                                                                                                                                                                                                                                                                             
  36.                                                                                                                                                                                                                                                             
  37.                                                                                                                                                                                                                             
  38.                                                                                                                                                                                             
  39.                                                                                                                                                             
  40.                                                                                                                             
  41.                                                                                             
  42.                                                             
  43.                             {% else %}
  44.                                 CLASS
  45.                                                                                                                                                                                                                                                                                                                                                                                                                     
  46.                                                                                                                                                                                                                                                                                                                                                                                             
  47.                                                                                                                                                                                                                                                                                                                                                             
  48.                                                                                                                                                                                                                                                                                                                             
  49.                                                                                                                                                                                                                                                                                             
  50.                                                                                                                                                                                                                                                             
  51.                                                                                                                                                                                                                             
  52.                                                                                                                                                                                             
  53.                                                                                                                                                             
  54.                                                                                                                             
  55.                                                                                             
  56.                                                             
  57.                             {% endif %}
  58.                         </span>
  59.                         {{ room.name }}
  60.                     </b>
  61.                 </h4>
  62.             </div>
  63.             <div id="companyright">
  64.                 <h4>
  65.                     <b>
  66.                         <span>
  67.                             {% if(room.level.cycle.section.name=="Francophone") %}
  68.                                 ANNEE SCOLAIRE &nbsp;   
  69.                                                                                                                                                                                                                                                                                                                                                                                                 
  70.                                                                                                                                                                                                                                                                                                                                                                 
  71.                                                                                                                                                                                                                                                                                                                                 
  72.                                                                                                                                                                                                                                                                                                 
  73.                                                                                                                                                                                                                                                                 
  74.                                                                                                                                                                                                                                 
  75.                                                                                                                                                                                                 
  76.                                                                                                                                                                 
  77.                                                                                                                                 
  78.                                                                                                 
  79.                                                                 
  80.                                 {{ year }}
  81.                             {% else %}
  82.                                 {{ year }}
  83.                                 &nbsp; SCHOOL YEAR
  84.                                                                                                                                                                                                                                                                                                                                                                                                                     
  85.                                                                                                                                                                                                                                                                                                                                                                                             
  86.                                                                                                                                                                                                                                                                                                                                                             
  87.                                                                                                                                                                                                                                                                                                                             
  88.                                                                                                                                                                                                                                                                                             
  89.                                                                                                                                                                                                                                                             
  90.                                                                                                                                                                                                                             
  91.                                                                                                                                                                                             
  92.                                                                                                                                                             
  93.                                                                                                                             
  94.                                                                                             
  95.                                                             
  96.                             {% endif %}
  97.                         </span>
  98.                     </b>
  99.                 </h4>
  100.             </div>
  101.         </header>
  102.         <main>
  103.             <table class="">
  104.                 <thead>
  105.                     <tr>
  106.                         <th>
  107.                             <div style="text-align:right;">
  108.                                 <h6>
  109.                                     <span>
  110.                                         <b>
  111.                                             N°    
  112.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
  113.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  114.                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  115.                                                                                                                                                                                                                                                                                                                                                                                                         
  116.                                                                                                                                                                                                                                                                                                                                                             
  117.                                                                                                                                                                                                                                                                                                                 
  118.                                                                                                                                                                                                                                                                     
  119.                                                                                                                                                                                                                         
  120.                                                                                                                                                                             
  121.                                                                                                                                 
  122.                                                                                     
  123.                                         </b>
  124.                                     </span>
  125.                                 </div>
  126.                             </h6>
  127.                         </th>
  128.                         <th class="rotate">
  129.                             <div style="text-align:right;">
  130.                                 <h6>
  131.                                     <span>
  132.                                         <b>
  133.                                             COEF    
  134.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
  135.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  136.                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  137.                                                                                                                                                                                                                                                                                                                                                                                                         
  138.                                                                                                                                                                                                                                                                                                                                                             
  139.                                                                                                                                                                                                                                                                                                                 
  140.                                                                                                                                                                                                                                                                     
  141.                                                                                                                                                                                                                         
  142.                                                                                                                                                                             
  143.                                                                                                                                 
  144.                                                                                     
  145.                                         </b>
  146.                                     </span>
  147.                                 </div>
  148.                             </h6>
  149.                         </th>
  150.                         {% set totalCoef = 0 %}
  151.                         {% for module in room.modules %}
  152.                             {% for course in module.courses %}
  153.                                 {% if course.id in checkedValues  %}
  154.                                     {% set totalCoef = totalCoef + course.coefficient %}
  155.                                     <th class="rotate">
  156.                                         <div>
  157.                                             <i>
  158.                                                 {{ course.coefficient }}
  159.                                             </i>
  160.                                             <span>
  161.                                                 <b>
  162.                                                     &nbsp;&nbsp;&nbsp; 
  163.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  164.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  165.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  166.                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  167.                                                                                                                                                                                                                                                                                                                                                                                                     
  168.                                                                                                                                                                                                                                                                                                                                                     
  169.                                                                                                                                                                                                                                                                                                     
  170.                                                                                                                                                                                                                                                     
  171.                                                                                                                                                                                                     
  172.                                                                                                                                                 
  173.                                                                                                     
  174.                                                     <h6>
  175.                                                         {{ course.wording }}
  176.                                                     </h6>
  177.                                                     &nbsp;&nbsp;&nbsp; 
  178.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  179.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  180.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  181.                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  182.                                                                                                                                                                                                                                                                                                                                                                                                 
  183.                                                                                                                                                                                                                                                                                                                                                 
  184.                                                                                                                                                                                                                                                                                                 
  185.                                                                                                                                                                                                                                                 
  186.                                                                                                                                                                                                 
  187.                                                                                                                                                 
  188.                                                                                                 
  189.                                                 </b>
  190.                                             </span>
  191.                                         </div>
  192.                                     </th>
  193.                                 {% endif %}
  194.                             {% endfor %}
  195.                         {% endfor %}
  196.                         <th class="rotate">
  197.                             <div>
  198.                                 <i>
  199.                                     {{ totalCoef }}
  200.                                 </i>
  201.                                 <span>
  202.                                     <b>
  203.                                         &nbsp;&nbsp;&nbsp;TOTAL&nbsp;&nbsp;&nbsp;
  204.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
  205.                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  206.                                                                                                                                                                                                                                                                                                                                                                                                             
  207.                                                                                                                                                                                                                                                                                                                                                                     
  208.                                                                                                                                                                                                                                                                                                                             
  209.                                                                                                                                                                                                                                                                                     
  210.                                                                                                                                                                                                                                             
  211.                                                                                                                                                                                                     
  212.                                                                                                                                                             
  213.                                                                                                                     
  214.                                                                             
  215.                                     </b>
  216.                                 </span>
  217.                             </div>
  218.                         </th>
  219.                         <th class="rotate">
  220.                             <div>
  221.                                 <span>
  222.                                     <b>
  223.                                         &nbsp;&nbsp;&nbsp;MOYENNE/20&nbsp;&nbsp;&nbsp;
  224.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
  225.                                                                                                                                                                                                                                                                                                                                                                                                                                                     
  226.                                                                                                                                                                                                                                                                                                                                                                                                             
  227.                                                                                                                                                                                                                                                                                                                                                                     
  228.                                                                                                                                                                                                                                                                                                                             
  229.                                                                                                                                                                                                                                                                                     
  230.                                                                                                                                                                                                                                             
  231.                                                                                                                                                                                                     
  232.                                                                                                                                                             
  233.                                                                                                                     
  234.                                                                             
  235.                                     </b>
  236.                                 </span>
  237.                             </div>
  238.                         </th>
  239.                     {#<th  class="rotate"><div><span><b>&nbsp;&nbsp;&nbsp;DECISION&nbsp;&nbsp;&nbsp;</b></span></div></th>#}
  240.                     </tr>
  241.                 </thead>
  242.                 <tbody>
  243.                     {% for std in students %}
  244.                         <tr>
  245.                             {% set i =0 %}
  246.                             {% set totalCoef = 0 %}
  247.                             {% set NCoef =0 %}
  248.                             <td class="qty">
  249.                                 {{ loop.index }}
  250.                             </td>
  251.                             <td class="desc">
  252.                                 <b>
  253.                                     &nbsp;&nbsp; 
  254.                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  255.                                                                                                                                                                                                                                                                                                                                                                                                             
  256.                                                                                                                                                                                                                                                                                                                                                                         
  257.                                                                                                                                                                                                                                                                                                                                     
  258.                                                                                                                                                                                                                                                                                                 
  259.                                                                                                                                                                                                                                                             
  260.                                                                                                                                                                                                                         
  261.                                                                                                                                                                                     
  262.                                                                                                                                                 
  263.                                                                                                             
  264.                                                                         
  265.                                     {{ std.lastname}}
  266.                                 </b>
  267.                             </td>
  268.                             {% for module in room.modules %}
  269.                                 {% for course in module.courses %}
  270.                                     {% if course.id in checkedValues %}
  271.                                         {% for mark in datas %}
  272.                                             {% if std.id == mark.student.id %}
  273.                                                 {% if mark.evaluation.course.wording == course.wording %}
  274.                                                     {% set i = i+1 %}
  275.                                                     <td class="qty">
  276.                                                         {% if mark.weight == 1 %}
  277.                                                             {{ mark.value }}
  278.                                                             {% set totalCoef = totalCoef + mark.evaluation.course.coefficient %}
  279.                                                             {% set NCoef = NCoef + mark.value * mark.evaluation.course.coefficient %}
  280.                                                         {% else %}
  281.                                                             /
  282.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
  283.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  284.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
  285.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  286.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
  287.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
  288.                                                                                                                                                                                                                                                                                                                                                                                                         
  289.                                                                                                                                                                                                                                                                                                                                                 
  290.                                                                                                                                                                                                                                                                                         
  291.                                                                                                                                                                                                                                 
  292.                                                                                                                                                                         
  293.                                                                                                                 
  294.                                                         {% endif %}
  295.                                                     </td>
  296.                                                 {% endif %}
  297.                                             {% endif %}
  298.                                         {% endfor %}
  299.                                     {% endif %}
  300.                                 {% endfor %}
  301.                             {% endfor %}
  302.                             <td class="total">
  303.                                 <i>
  304.                                     {{ totalCoef }}
  305.                                 </i>
  306.                             </td>
  307.                             <td class="total">
  308.                                 {% if totalCoef != 0 %}
  309.                                     {{ (NCoef/totalCoef)|round(2,'floor') }}
  310.                                 {% else %}
  311.                                     / 
  312.                                                                                                                                                                                                                                                                                                                                                                                                                                             
  313.                                                                                                                                                                                                                                                                                                                                                                                                         
  314.                                                                                                                                                                                                                                                                                                                                                                     
  315.                                                                                                                                                                                                                                                                                                                                 
  316.                                                                                                                                                                                                                                                                                             
  317.                                                                                                                                                                                                                                                         
  318.                                                                                                                                                                                                                     
  319.                                                                                                                                                                                 
  320.                                                                                                                                             
  321.                                                                                                         
  322.                                                                     
  323.                                 {% endif %}
  324.                             </td>
  325.                         </tr>
  326.                     {% endfor %}
  327.                 </tbody>
  328.             </table>
  329.             <div id="notices">
  330.                 <div>
  331.                     NB:
  332.                                                                                                                                                                                                                                             
  333.                                                                                                                                                                                                                         
  334.                                                                                                                                                                                                     
  335.                                                                                                                                                                                 
  336.                                                                                                                                                             
  337.                                                                                                                                         
  338.                                                                                                                     
  339.                                                                                                 
  340.                                                                             
  341.                                                         
  342.                                     
  343.                 </div>
  344.                 <div class="notice">
  345.                     Chaque élève est tenu de vérifier la conformité des informations ci dessus mentionnées et en cas de problème, se rapprocher l'enseignant. 
  346.                                                                                                                                                                                                                                             
  347.                                                                                                                                                                                                                         
  348.                                                                                                                                                                                                     
  349.                                                                                                                                                                                 
  350.                                                                                                                                                             
  351.                                                                                                                                         
  352.                                                                                                                     
  353.                                                                                                 
  354.                                                                             
  355.                                                         
  356.                                     
  357.                 </div>
  358.             </div>
  359.         </main>
  360.         <footer>
  361.             Fiche de procès verbal
  362.                                                                                                                                                         
  363.                                                                                                                                             
  364.                                                                                                                                 
  365.                                                                                                                     
  366.                                                                                                         
  367.                                                                                             
  368.                                                                                 
  369.                                                                     
  370.                                                         
  371.                                             
  372.                                 
  373.                     
  374.         </footer>
  375.     </body>
  376. </html>