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. </head>
  9. <body>
  10. <header class="clearfix">
  11. {{ include('classroom/partials/header.html.twig') }}
  12. <h1><b> Procès verbal de la {{evaluation.sequence.wording}} de {{evaluation.course.wording}} </b> </h1>
  13. <div id="company" class="clearfix">
  14. <div><h5><b><span>Classe</span> {{evaluation.classroom.name}}</b></h5></div>
  15. </div>
  16. <div id="project">
  17. <div><h5><b><span>Année scolaire</span> {{evaluation.sequence.quater.schoolYear.wording}}</b></h5></div>
  18. </header>
  19. <main>
  20. <table class="table table-bordered">
  21. <thead>
  22. <tr>
  23. <th class="service" style="width:10%;">Matricule</th>
  24. <th class="desc" style="width:30%;"><h8>Nom et prénom</h8></th>
  25. <th style="width:5%;"><b>Note/20</b></th>
  26. <th style="width:5%;"><b>Rang</b></th>
  27. <th style="width:25%;"><b>Appreciation</b></th>
  28. </tr>
  29. </thead>
  30. <tbody>
  31. {% for mark in evaluation.marks %}
  32. <tr>
  33. <td class="service"><b>{{mark.student.matricule}}</b></td>
  34. <td class="desc"><b>{{mark.student.lastname }} {{ mark.student.firstname}}</b></td>
  35. <td class="qty">{{mark.value}}</td>
  36. <td class="qty">{{mark.rank2}}</td>
  37. <td class="total">{{mark.appreciation}}</td>
  38. </tr>
  39. {% endfor %}
  40. </tbody>
  41. </table>
  42. <div id="notices">
  43. {% set success = evaluation.successH + evaluation.successF %}
  44. {% set faillure = evaluation.failluresH + evaluation.failluresF %}
  45. {% set total = success + faillure + evaluation.abscent %}
  46. {% set psuccess = (success / total)*100 %}
  47. <div>BILAN:</div>
  48. <div class="notice"> SUCCESS: {{ psuccess }}%, ABSENCE : {{evaluation.abscent }}, MIN : {{evaluation.mini }}, MAX : {{evaluation.maxi }}</div>
  49. </div>
  50. <div id="notices">
  51. <div>EMIS PAR : {{ author.fullName }}</div>
  52. </div>
  53. <div id="notices">
  54. <div>NOTICE:</div>
  55. <div class="notice">Cette fiche est à conserver en vue de la traçabilité de la gestion des notes de cette année scolaire.</div>
  56. </div>
  57. </main>
  58. <footer>
  59. Fiche de procès verbal
  60. </footer>
  61. </body>
  62. </html>