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.         
  9.    
  10.     </head>
  11.     <body>
  12.         <header class="clearfix">
  13.             <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>
  14.             <div id="company" class="clearfix">
  15.                 <div><h5><b><span>Classe</span> {{abscences.classroom.name}}</b></h5></div>
  16.                   
  17.             </div>
  18.             <div id="project">
  19.             <div><h5><b><span>Année scolaire</span> {{abscences.sequence.quater.schoolYear.wording}}</b></h5></div>
  20.                  
  21.            
  22.         </header>
  23.         <main>
  24.             <table class="table table-bordered">
  25.                 <thead>
  26.                     <tr>
  27.                         <th class="service"  style="width:20%;">Matricule</th>
  28.                         <th class="desc"  style="width:40%;"><h8>Nom et prénom</h8></th>
  29.                         <th  style="width:15%;"><b>Heures</b></th>
  30.                          
  31.                         <th  style="width:25%;"><b>Justification</b></th>
  32.                         
  33.                         
  34.                     </tr>
  35.                 </thead>
  36.                 <tbody>
  37.                     {% set total = 0 %}
  38.                     {% for mark in abscences.abscences %}
  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.weight}}</td>
  43.                             <td class="total">{{mark.reason}}</td>
  44.                         </tr>
  45.                         {% set total = total + mark.weight %}
  46.                     {% endfor %}
  47.                     
  48.                 </tbody>
  49.             </table>
  50.              <div id="notices">
  51.                
  52.                 <div>BILAN:</div>
  53.                 <div class="notice"> ABSENCE : {{total}} Heures</div>
  54.             </div>
  55.             <div id="notices">
  56.                 <div>NOTICE:</div>
  57.                 <div class="notice">Cette fiche est à conserver en vue de la traçabilité de la gestion des abscences de cette année scolaire.</div>
  58.             </div>
  59.         </main>
  60.         <footer>
  61.            Fiche de procès verbal
  62.         </footer>
  63.     </body>
  64. </html>