templates/salarie/gestion_salarie/modals/contract_detail.html.twig line 1

Open in your IDE?
  1.                     {% if contracts %}
  2.                         {% for contract in contracts %}
  3.                         <tr id="contract-{{contract.id}}">
  4.                             <td>{{ contract.code }}</td>
  5.                             <td>{{ contract.designation }}</td>
  6.                             <td>{{ contract.type }}</td>
  7.                             <td>
  8.                                 {% if operations|length > 0 %}
  9.                                     <div class="dropdown" style="">
  10.                                         <!-- Add the 'btn' class to the SVG to make it clickable like a button -->
  11.                                         <svg style="height:1.5rem" role="button" fill="black"
  12.                                          viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" 
  13.                                          data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  14.                                             <circle cx="12" cy="5" r="2"></circle>
  15.                                             <circle cx="12" cy="12" r="2"></circle>
  16.                                             <circle cx="12" cy="19" r="2"></circle>
  17.                                         </svg>
  18.                                         <div class="dropdown-menu dashboard-dropdown dropdown-menu-start mt-2 py-1">
  19.                                             {% for operation in operations %}
  20.                                                 {% if operation.align == true and operation.idTag != 'add_contrat_exist' %}
  21.                                                 <a data-value="{{ contract.id }}"  class="dropdown-item d-flex 
  22.                                                 align-items-center text-capitalize {{operation.classTag}}" 
  23.                                                 id="{{operation.idTag}}" href="{{operation.link}}">
  24.                                                     <i class="{{operation.icon}} text-gray-400 me-2"></i>
  25.                                                     {{operation.designation}}
  26.                                                 </a>
  27.                                                 {% endif %}
  28.                                             {% endfor %}
  29.                                         </div> 
  30.                                     </div>
  31.                                 {% endif %}
  32.                             </td>
  33.                             
  34.                            
  35.                         </tr>
  36.                         {% endfor %}
  37.                         
  38.                         {% endif %}
  39.                         
  40.                         {% for operation in operations %}
  41.                             {% if operation.align == true and operation.idTag == 'add_contrat_exist' %}
  42.                             <tr>
  43.                                 <td></td>
  44.                                 <td></td>
  45.                                 <td></td>
  46.                                 <td>
  47.                                     <a data-value="{{ employe }}"  class="dropdown-item d-flex 
  48.                                                 align-items-center text-capitalize {{operation.classTag}}" 
  49.                                                 id="{{operation.idTag}}" href="{{operation.link}}">
  50.                                                     <i class="{{operation.icon}} text-gray-400 me-2"></i>
  51.                                                     {{operation.designation}}
  52.                                                 </a>
  53.                                 </td>
  54.                             </tr>
  55.                             {% endif %}
  56.                         {% endfor %}
  57.