templates/evaluation/pdf.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <title>Procès verbal</title>
  6.           <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/bootstrap.min.css')) }}" />
  7.         <link rel="stylesheet" type="text/css" href="{{ absolute_url(asset('assets/css/pdf.css')) }}" />
  8.         
  9.    
  10.     </head>
  11.     <body>
  12.         <header class="clearfix">
  13.             {{ include('classroom/partials/header.html.twig') }}
  14.             <h1><b> Procès verbal de la {{evaluation.sequence.wording}} de  {{evaluation.course.wording}} </b> </h1>
  15.             <div id="company" class="clearfix">
  16.                 <div><h5><b><span>Classe</span> {{evaluation.classroom.name}}</b></h5></div>
  17.                   
  18.             </div>
  19.             <div id="project">
  20.             <div><h5><b><span>Année scolaire</span> {{evaluation.sequence.quater.schoolYear.wording}}</b></h5></div>
  21.                  
  22.            
  23.         </header>
  24.         <main>
  25.             <table class="table table-bordered">
  26.                 <thead>
  27.                     <tr>
  28.                         <th class="service"  style="width:10%;">Matricule</th>
  29.                         <th class="desc"  style="width:30%;"><h8>Nom et prénom</h8></th>
  30.                         <th  style="width:5%;"><b>Note/20</b></th>
  31.                          <th  style="width:5%;"><b>Rang</b></th>
  32.                         <th  style="width:25%;"><b>Appreciation</b></th>
  33.                         
  34.                         
  35.                     </tr>
  36.                 </thead>
  37.                 <tbody>
  38.                     {% for mark in evaluation.marks %}
  39.                         <tr>
  40.                             <td class="service"><b>{{mark.student.matricule}}</b></td>
  41.                             <td class="desc"><b>{{mark.student.lastname }} {{   mark.student.firstname}}</b></td>
  42.                             <td class="qty">{{mark.value}}</td>
  43.                            <td class="qty">{{mark.rank2}}</td>
  44.                             <td class="total">{{mark.appreciation}}</td>
  45.                         </tr>
  46.                     {% endfor %}
  47.                     
  48.                 </tbody>
  49.             </table>
  50.              <div id="notices">
  51.               {% set success = evaluation.successH + evaluation.successF %}
  52.                {% set faillure = evaluation.failluresH +  evaluation.failluresF  %}
  53.                {% set total = success + faillure + evaluation.abscent %}
  54.                   {% set psuccess = (success / total)*100 %}
  55.                
  56.                 <div>BILAN:</div>
  57.                 <div class="notice"> SUCCESS: {{ psuccess }}%, ABSENCE : {{evaluation.abscent }}</div>
  58.             </div>
  59.             <div id="notices">
  60.                 <div>EMIS  PAR : {{ author.fullName }}</div>
  61.             </div>
  62.             <div id="notices">
  63.                 <div>NOTICE:</div>
  64.                 <div class="notice">Cette fiche est à conserver en vue de la traçabilité de la gestion des notes de cette année scolaire.</div>
  65.             </div>
  66.         </main>
  67.         <footer>
  68.            Fiche de procès verbal
  69.         </footer>
  70.     </body>
  71. </html>