templates/abscence_sheet/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. <h1><b> Rapport d'adscences de la {{abscences.sequence.wording}} de {{abscences.startDate|date('d-m-Y')}} a {{abscences.endDate|date('d-m-Y')}}</b> </h1>
  12. <div id="company" class="clearfix">
  13. <div><h5><b><span>Classe</span> {{abscences.classroom.name}}</b></h5></div>
  14. </div>
  15. <div id="project">
  16. <div><h5><b><span>Année scolaire</span> {{abscences.sequence.quater.schoolYear.wording}}</b></h5></div>
  17. </header>
  18. <main>
  19. <table class="table table-bordered">
  20. <thead>
  21. <tr>
  22. <th class="service" style="width:20%;">Matricule</th>
  23. <th class="desc" style="width:40%;"><h8>Nom et prénom</h8></th>
  24. <th style="width:15%;"><b>Heures</b></th>
  25. <th style="width:25%;"><b>Justification</b></th>
  26. </tr>
  27. </thead>
  28. <tbody>
  29. {% set total = 0 %}
  30. {% for mark in abscences.abscences %}
  31. <tr>
  32. <td class="service"><b>{{mark.student.matricule}}</b></td>
  33. <td class="desc"><b>{{mark.student.lastname }} {{ mark.student.firstname}}</b></td>
  34. <td class="qty">{{mark.weight}}</td>
  35. <td class="total">{{mark.reason}}</td>
  36. </tr>
  37. {% set total = total + mark.weight %}
  38. {% endfor %}
  39. </tbody>
  40. </table>
  41. <div id="notices">
  42. <div>BILAN:</div>
  43. <div class="notice"> ABSENCE : {{total}} Heures</div>
  44. </div>
  45. <div id="notices">
  46. <div>NOTICE:</div>
  47. <div class="notice">Cette fiche est à conserver en vue de la traçabilité de la gestion des abscences de cette année scolaire.</div>
  48. </div>
  49. </main>
  50. <footer>
  51. Fiche de procès verbal
  52. </footer>
  53. </body>
  54. </html>