templates/paie/bulletin/includes/bulletin_details.html.twig line 1

Open in your IDE?
  1. <div>
  2.     {% if bulletin.contract %}
  3.         <div class="row">
  4.             <div class="col-md-4">
  5.                 <p><b>Matricule:</b> {{bulletin.contract.employe.matricule}}</p>
  6.             </div>
  7.             <div class="col-md-4">
  8.                 <p><b>Nom:</b> {{bulletin.contract.employe.nom}}</p>
  9.             </div>
  10.             <div class="col-md-4">
  11.                 <p><b>Prenom:</b> {{bulletin.contract.employe.prenom}}</p>
  12.             </div>
  13.         </div>
  14.         <div class="row">
  15.             <div class="col-md-4">
  16.                 <p><b>Nature contract:</b> {{bulletin.contract.pnatureContract.designation}}</p>
  17.             </div>
  18.             <div class="col-md-4">
  19.                 <p><b>Bareme:</b> {{bulletin.contract.bareme ? bulletin.contract.bareme.bareme : ''}}</p>
  20.             </div>
  21.             
  22.         </div>
  23.         <hr>
  24.     {% endif %}
  25.     <div class="row">
  26.         <div class="col-md-4">
  27.             <p><b>Bulletin:</b> {{bulletin.code}}</p>
  28.         </div>
  29.         <div class="col-md-4">
  30.             <p><b>Periode:</b> {{bulletin.periode.code}}</p>
  31.         </div>
  32.         <div class="col-md-4">
  33.             <p><b>Imprimer:</b> <i class="fa fa-download text-primary bulletin_download" type="button" id="{{bulletin.id}}"></i></p>
  34.         </div>
  35.         
  36.     </div>
  37.     <hr>
  38.     <table class="table table-bordered  table-striped" id="list_bulletin_details">
  39.         <thead>
  40.             <tr>
  41.                 <th>#</th>
  42.                 <th>Rubrique</th>
  43.                 <th>Motant</th>
  44.                 <th>Motant Mad</th>
  45.                 <th>Sens</th>
  46.             </tr>
  47.         </thead>
  48.         <tbody>
  49.             {% for bulletinLg in bulletinLgs %}
  50.                 <tr id="{{bulletinLg.id}}">
  51.                     <td>{{loop.index}}</td>
  52.                     <td>{{bulletinLg.rubrique.designation}}</td>
  53.                     {# <td style="text-align: right !important">{{bulletinLg.montant|number_format(2, ',', ' ')}}</td> #}
  54.                     <td style="text-align: right !important">{{bulletinLg.montantDevise ? bulletinLg.montantDevise|number_format(2, ',', ' ') :  bulletinLg.montant|number_format(2, ',', ' ')}}</td>
  55.                     <td style="text-align: right !important">{{bulletinLg.montant|number_format(2, ',', ' ')}}</td>
  56.                     <td>{{bulletinLg.sens}}</td>
  57.                 </tr>
  58.             {% endfor %}
  59.         </tbody>
  60.     </table>
  61.     
  62. </div>