templates/sub_contractor/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Liste des équipes{% endblock %}
  3. {% block styles %}
  4.     {{ encore_entry_link_tags('plugins/custom/datatables/datatables.bundle') }}
  5. {% endblock %}
  6. {% block body %}
  7.     <div id="kt_content_container" class="container-fluid" {{ stimulus_controller('client--index') }}>
  8.         <div class="mobile-menu" {{ stimulus_controller('mission--scroll') }}>
  9.             <div class="mobile-head mb-4">
  10.                 <svg id="kt_aside_mobile_toggle" width="48" class="menu-toggle" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
  11.                     <rect width="48" height="40" rx="6" fill="#F1F0F4"/>
  12.                     <path d="M15.75 20L32.25 20" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  13.                     <path d="M15.75 14L32.25 14" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  14.                     <path d="M15.75 26L32.25 26" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  15.                 </svg>
  16.                 
  17.                 <h1 class="text-uppercase">Équipes</h1>
  18.                 <svg id="search_btn_mobile_open"  class="hidden"  width="48" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
  19.                     <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" fill="#F9FAFB"/>
  20.                     <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" stroke="#EAECF0"/>
  21.                     <g clip-path="url(#clip0_1161_6063)">
  22.                     <path d="M22.5 26C26.6421 26 30 22.6421 30 18.5C30 14.3579 26.6421 11 22.5 11C18.3579 11 15 14.3579 15 18.5C15 22.6421 18.3579 26 22.5 26Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  23.                     <path d="M27.8027 23.8035L32.9993 29" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  24.                     </g>
  25.                     <defs>
  26.                     <clipPath id="clip0_1161_6063">
  27.                     <rect width="24" height="24" fill="white" transform="translate(12 8)"/>
  28.                     </clipPath>
  29.                     </defs>
  30.                 </svg>
  31.                 <svg id="search_btn_mobile_close" class="hidden" width="48" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
  32.                     <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" fill="var(--my-flow-pink)"></rect>
  33.                     <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" stroke="#fff"></rect>
  34.                     <g clip-path="url(#clip0_1161_6063)">
  35.                     <path d="M22.5 26C26.6421 26 30 22.6421 30 18.5C30 14.3579 26.6421 11 22.5 11C18.3579 11 15 14.3579 15 18.5C15 22.6421 18.3579 26 22.5 26Z" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  36.                     <path d="M27.8027 23.8035L32.9993 29" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  37.                     </g>
  38.                     <defs>
  39.                     <clipPath id="clip0_1161_6063">
  40.                     <rect width="24" height="24" fill="white" transform="translate(12 8)"></rect>
  41.                     </clipPath>
  42.                     </defs>
  43.                 </svg>
  44.             </div>
  45.             {# <div class="collapse align-items-center position-relative my-1 " id="search_container_mobile" style="flex-direction: column;">
  46.                 <input type="text"
  47.                            style="margin-right: 10px;"
  48.                            class="form-control form-control  ps-15 input-search"
  49.                            placeholder="Rechercher ..."
  50.                             {{ stimulus_action('client--index', 'searchTable', 'keyup') }}
  51.                     />
  52.                     <input type="text"
  53.                            id="tarif-min"
  54.                            name="min"
  55.                            style="margin-right: 5px;"
  56.                            class="form-control form-control w-150px ps-15"
  57.                            placeholder="Tarif mini {{min_price}}"
  58.                         {{ stimulus_action('client--index', 'searchTarif', 'keyup') }}
  59.                     />
  60.                     <input type="text"
  61.                            id="tarif-max"
  62.                            name="max"
  63.                            class="form-control form-control w-150px ps-15"
  64.                            placeholder="Tarif max  {{max_price}}"
  65.                         {{ stimulus_action('client--index', 'searchTarif', 'keyup') }}
  66.                     />
  67.             </div> #}
  68.         </div>
  69.         <div class="titre-header ">
  70.             {% if app.request.get('_route') == 'sub_contractor_index' %}
  71.                 <h1 class="text-uppercase mobile-none">Équipes</h1>
  72.                 <div class="d-flex align-items-center hidden position-relative my-1" id="section-top-presta">
  73.                     <span class="mobile-none svg-icon svg-icon-1 position-absolute ms-6">
  74.                         <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px" viewBox="0 0 24 24" version="1.1">
  75.                             <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  76.                                 <rect x="0" y="0" width="24" height="24" />
  77.                                 <path d="M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z" fill="#000000" fill-rule="nonzero" opacity="0.3" />
  78.                                 <path d="M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z" fill="#000000" fill-rule="nonzero" />
  79.                             </g>
  80.                         </svg>
  81.                     </span>
  82.                     <input  type="text"
  83.                            style="margin-right: 10px;"
  84.                            class=" mobile-none form-control form-control  ps-15 input-search"
  85.                            placeholder="Rechercher ..."
  86.                             {{ stimulus_action('client--index', 'searchTable', 'keyup') }}
  87.                     />
  88.                     <input  type="text"
  89.                            id="tarif-min"
  90.                            name="min"
  91.                            style="margin-right: 5px;"
  92.                            class=" mobile-none form-control form-control w-150px ps-15"
  93.                            placeholder="Tarif mini {{min_price}}"
  94.                         {{ stimulus_action('client--index', 'searchTarif', 'keyup') }}
  95.                     />
  96.                     <input  type="text"
  97.                            id="tarif-max"
  98.                            name="max"
  99.                            class=" mobile-none form-control form-control w-150px ps-15"
  100.                            placeholder="Tarif max  {{max_price}}"
  101.                         {{ stimulus_action('client--index', 'searchTarif', 'keyup') }}
  102.                     />
  103.                 </div>
  104.                 <div>
  105.                     <a href="{{ path('sub_contractor_new') }}" class="btn btn-primary-custom font-weight-bold btn-add-presta">Ajouter</a>
  106.                     {% if subContractors is not null %}
  107.                         <a target="_blank" href="{{path('sub_contractor_export',{'type':'subcontractor'})}}" class="btn btn-primary">Exporter</a>
  108.                     {% endif %}
  109.                 </div>
  110.                
  111.             {% endif %}
  112.         </div>
  113.         <div class="card shadow-sm mt-5">
  114.             <div class="card-body" style="padding-top:0;">
  115.                 <div class="ctn-filter partner ctn-filter mt-8 my-4" style="align-items:baseline">
  116.                     <div>
  117.                         <button id="show-filter" class="btn btn-filter collapsed " data-toggle="collapse" data-target="#refontefilterfile" aria-expanded="false" aria-controls="collapsefilter">Filtrer
  118.                             <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  119.                                 <g clip-path="url(#clip0_2053_1644)">
  120.                                     <path d="M6 13.25H18" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
  121.                                     <path d="M2.25 8.75H21.75" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
  122.                                     <path d="M9.75 17.75H14.25" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
  123.                                 </g>
  124.                                 <defs>
  125.                                     <clipPath id="clip0_2053_1644">
  126.                                         <rect width="24" height="24" fill="white" transform="translate(0 0.5)"></rect>
  127.                                     </clipPath>
  128.                                 </defs>
  129.                             </svg>
  130.                         </button>
  131.                     </div>
  132.                     <div class="ml-4 w-96" style="width: 96%;overflow-x: auto;">
  133.                         <div class="container-filter collapse " id="refontefilterfile" style="">
  134.                             <div id="refonte" style="gap: 12px;padding:0 !important;border:0;width: 100% !important;align-items: baseline;" class="refont-table mrn-grid  position-relative cursor:pointer;  width: 900px;  ">
  135.                                 <div class="div-relative">
  136.                                     <input  type="text"
  137.                                         style="margin-right: 10px;"
  138.                                         class="form-control input-search mb-0"
  139.                                         placeholder="Recherchez par nom, email, ..."
  140.                                             {{ stimulus_action('client--index', 'searchTableTwoColonne', 'keyup') }}
  141.                                     />
  142.                                     <button class="icon-search " type="submit">
  143.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  144.                                             <g clip-path="url(#clip0_2027_2078)">
  145.                                                 <path d="M10.5 18C14.6421 18 18 14.6421 18 10.5C18 6.35786 14.6421 3 10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  146.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  147.                                             </g>
  148.                                             <defs>
  149.                                                 <clipPath id="clip0_2027_2078">
  150.                                                     <rect width="24" height="24" fill="white"></rect>
  151.                                                 </clipPath>
  152.                                             </defs>
  153.                                         </svg>
  154.                                     </button>
  155.                                 </div>
  156.                                 <div class="div-relative">
  157.                                     <input  type="text"
  158.                                         style="margin-right: 10px;"
  159.                                         class="form-control input-search mb-0"
  160.                                         placeholder="Recherchez par rôle"
  161.                                         {{ stimulus_action('client--index', 'searchTableRole', 'keyup') }}
  162.                                     />
  163.                                     <button class="icon-search ">
  164.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  165.                                             <g clip-path="url(#clip0_2027_2078)">
  166.                                                 <path d="M10.5 18C14.6421 18 18 14.6421 18 10.5C18 6.35786 14.6421 3 10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  167.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  168.                                             </g>
  169.                                             <defs>
  170.                                                 <clipPath id="clip0_2027_2078">
  171.                                                     <rect width="24" height="24" fill="white"></rect>
  172.                                                 </clipPath>
  173.                                             </defs>
  174.                                         </svg>
  175.                                     </button>
  176.                                 </div>
  177.                                 <div class="div-relative">
  178.                                     <input  type="text"
  179.                                         style="margin-right: 10px;"
  180.                                         class="form-control input-search mb-0"
  181.                                         placeholder="Recherchez par métier"
  182.                                             {{ stimulus_action('client--index', 'searchTableJob', 'keyup') }}
  183.                                     />
  184.                                     <button class="icon-search ">
  185.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  186.                                             <g clip-path="url(#clip0_2027_2078)">
  187.                                                 <path d="M10.5 18C14.6421 18 18 14.6421 18 10.5C18 6.35786 14.6421 3 10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  188.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  189.                                             </g>
  190.                                             <defs>
  191.                                                 <clipPath id="clip0_2027_2078">
  192.                                                     <rect width="24" height="24" fill="white"></rect>
  193.                                                 </clipPath>
  194.                                             </defs>
  195.                                         </svg>
  196.                                     </button>
  197.                                 </div>
  198.                                 <div class="div-relative">
  199.                                     <input  type="text"
  200.                                         style="margin-right: 10px;"
  201.                                         class="form-control input-search mb-0"
  202.                                         placeholder="Recherchez par service"
  203.                                             {{ stimulus_action('client--index', 'searchTableService', 'keyup') }}
  204.                                     />
  205.                                     <button class="icon-search ">
  206.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  207.                                             <g clip-path="url(#clip0_2027_2078)">
  208.                                                 <path d="M10.5 18C14.6421 18 18 14.6421 18 10.5C18 6.35786 14.6421 3 10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  209.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  210.                                             </g>
  211.                                             <defs>
  212.                                                 <clipPath id="clip0_2027_2078">
  213.                                                     <rect width="24" height="24" fill="white"></rect>
  214.                                                 </clipPath>
  215.                                             </defs>
  216.                                         </svg>
  217.                                     </button>
  218.                                 </div>
  219.                                 <div class="div-relative">
  220.                                     <input  type="text"
  221.                                         style="margin-right: 10px;"
  222.                                         class="form-control input-search mb-0"
  223.                                         placeholder="Recherchez par TJM"
  224.                                             {{ stimulus_action('client--index', 'searchTableTjm', 'keyup') }}
  225.                                     />
  226.                                     <button class="icon-search ">
  227.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  228.                                             <g clip-path="url(#clip0_2027_2078)">
  229.                                                 <path d="M10.5 18C14.6421 18 18 14.6421 18 10.5C18 6.35786 14.6421 3 10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18Z" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  230.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  231.                                             </g>
  232.                                             <defs>
  233.                                                 <clipPath id="clip0_2027_2078">
  234.                                                     <rect width="24" height="24" fill="white"></rect>
  235.                                                 </clipPath>
  236.                                             </defs>
  237.                                         </svg>
  238.                                     </button>
  239.                                 </div>
  240.                                 <div class="filter-btn ">
  241.                                     <div class="btn-wordpress-and-commande">
  242.                                         <a title="Réinitialiser" href="/admin/fournisseurs" class="btn btn-custom bg-custom-pink">
  243.                                             <svg version="1.1" x="0px" y="0px" width="20" height="20" viewBox="0 0 24 24.001" enable-background="new 0 0 24 24.001" xml:space="preserve">
  244.                                                 <g>
  245.                                                     <path fill-rule="evenodd" clip-rule="evenodd" fill="transparent" d="M4.688,24.001c-1.563,0-3.125,0-4.688,0C0,16,0,8,0,0
  246.                                                                                         c6.391,0,12.782,0,19.173,0c-0.4,0.154-0.541,0.451-0.512,0.868c0.039,0.569,0.055,1.139,0.074,1.709
  247.                                                                                         c0.009,0.253,0.001,0.508,0.001,0.788c-0.083-0.058-0.152-0.103-0.218-0.154c-1.753-1.348-3.739-2.099-5.939-2.214
  248.                                                                                         C8.958,0.807,5.917,2.088,3.591,4.862c-2.313,2.757-3.024,5.957-2.27,9.478c0.025,0.118,0.082,0.239,0.155,0.335
  249.                                                                                         c0.181,0.238,0.515,0.309,0.781,0.184c0.3-0.14,0.436-0.435,0.352-0.809c-0.254-1.13-0.326-2.268-0.174-3.418
  250.                                                                                         C2.68,8.762,3.387,7.088,4.626,5.672c2.153-2.46,4.881-3.577,8.148-3.327c1.629,0.125,3.115,0.68,4.475,1.58
  251.                                                                                         c0.216,0.143,0.418,0.308,0.626,0.463c-0.007,0.021-0.014,0.041-0.021,0.062c-0.115,0-0.229-0.004-0.344,0
  252.                                                                                         c-0.796,0.029-1.592,0.058-2.388,0.092c-0.399,0.017-0.68,0.301-0.673,0.666c0.008,0.378,0.305,0.663,0.712,0.65
  253.                                                                                         c1.429-0.045,2.857-0.096,4.285-0.155c0.465-0.02,0.716-0.299,0.7-0.762c-0.049-1.374-0.113-2.747-0.152-4.121
  254.                                                                                         C19.984,0.436,19.849,0.164,19.501,0C21,0,22.5,0,24,0c0,7.996,0,15.992,0,24.001c-6.327,0-12.655,0-18.984,0
  255.                                                                                         c0.404-0.189,0.524-0.511,0.468-0.938c-0.057-0.433-0.086-0.869-0.125-1.305c-0.031-0.359-0.059-0.719-0.088-1.089
  256.                                                                                         c0.045,0.012,0.063,0.012,0.074,0.021c0.102,0.072,0.202,0.147,0.302,0.221c1.82,1.342,3.864,2.038,6.119,2.11
  257.                                                                                         c1.696,0.056,3.321-0.269,4.863-0.985c2.001-0.931,3.588-2.332,4.743-4.213c0.976-1.588,1.493-3.321,1.587-5.18
  258.                                                                                         c0.053-1.02-0.059-2.027-0.286-3.021c-0.072-0.316-0.31-0.519-0.602-0.536c-0.482-0.028-0.792,0.365-0.675,0.88
  259.                                                                                         c0.346,1.519,0.345,3.035-0.046,4.543c-0.541,2.087-1.653,3.806-3.349,5.143c-1.479,1.167-3.161,1.836-5.034,2.008
  260.                                                                                         c-1.959,0.18-3.807-0.212-5.525-1.168c-0.492-0.273-0.949-0.612-1.421-0.922c0.01-0.021,0.02-0.044,0.029-0.066
  261.                                                                                         c0.347-0.032,0.693-0.064,1.04-0.097c0.606-0.057,1.214-0.099,1.817-0.176c0.371-0.048,0.596-0.369,0.557-0.717
  262.                                                                                         c-0.041-0.36-0.344-0.615-0.722-0.582c-1.447,0.126-2.893,0.256-4.338,0.393c-0.388,0.036-0.613,0.307-0.609,0.696
  263.                                                                                         c0.001,0.086,0.006,0.172,0.014,0.257c0.119,1.298,0.25,2.596,0.351,3.896C4.19,23.565,4.322,23.846,4.688,24.001z"></path>
  264.                                                     <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M19.501,0c0.348,0.164,0.483,0.436,0.494,0.82
  265.                                                                                         c0.039,1.374,0.104,2.748,0.152,4.121c0.016,0.463-0.235,0.742-0.7,0.762c-1.428,0.059-2.856,0.11-4.285,0.155
  266.                                                                                         c-0.407,0.013-0.704-0.272-0.712-0.65c-0.007-0.365,0.273-0.649,0.673-0.666c0.796-0.034,1.592-0.063,2.388-0.092
  267.                                                                                         c0.114-0.004,0.229,0,0.344,0c0.007-0.021,0.014-0.042,0.021-0.062c-0.208-0.155-0.41-0.32-0.626-0.463
  268.                                                                                         c-1.359-0.899-2.846-1.455-4.475-1.58C9.508,2.095,6.78,3.212,4.626,5.672c-1.239,1.416-1.946,3.09-2.192,4.958
  269.                                                                                         c-0.151,1.151-0.08,2.289,0.174,3.418c0.084,0.374-0.052,0.669-0.352,0.809c-0.266,0.125-0.6,0.055-0.781-0.184
  270.                                                                                         c-0.073-0.096-0.129-0.217-0.155-0.335c-0.755-3.521-0.043-6.721,2.27-9.478c2.326-2.773,5.368-4.055,8.988-3.865
  271.                                                                                         c2.2,0.116,4.187,0.866,5.939,2.214c0.065,0.051,0.135,0.096,0.218,0.154c0-0.28,0.008-0.534-0.001-0.788
  272.                                                                                         c-0.02-0.57-0.035-1.14-0.074-1.709C18.632,0.451,18.772,0.154,19.173,0C19.282,0,19.392,0,19.501,0z"></path>
  273.                                                     <path fill-rule="evenodd" fill="#FFFFFF" clip-rule="evenodd" d="M4.688,24.001c-0.366-0.155-0.498-0.437-0.528-0.827
  274.                                                                                         c-0.101-1.3-0.232-2.598-0.351-3.896c-0.008-0.085-0.013-0.171-0.014-0.257c-0.004-0.39,0.221-0.66,0.609-0.696
  275.                                                                                         c1.446-0.137,2.892-0.267,4.338-0.393c0.378-0.033,0.681,0.222,0.722,0.582c0.04,0.348-0.186,0.669-0.557,0.717
  276.                                                                                         c-0.604,0.077-1.211,0.119-1.817,0.176c-0.347,0.032-0.693,0.064-1.04,0.097c-0.01,0.022-0.02,0.045-0.029,0.066
  277.                                                                                         c0.473,0.31,0.929,0.648,1.421,0.922c1.719,0.956,3.566,1.348,5.525,1.168c1.873-0.172,3.556-0.841,5.034-2.008
  278.                                                                                         c1.695-1.337,2.808-3.056,3.349-5.143c0.391-1.509,0.392-3.024,0.046-4.543c-0.117-0.515,0.192-0.908,0.675-0.88
  279.                                                                                         c0.292,0.017,0.529,0.22,0.602,0.536c0.228,0.994,0.339,2.001,0.286,3.021c-0.094,1.858-0.611,3.592-1.587,5.18
  280.                                                                                         c-1.155,1.881-2.742,3.282-4.743,4.213c-1.542,0.717-3.167,1.041-4.863,0.985c-2.255-0.072-4.299-0.769-6.119-2.11
  281.                                                                                         c-0.101-0.073-0.201-0.148-0.302-0.221c-0.011-0.009-0.028-0.009-0.074-0.021c0.03,0.37,0.057,0.729,0.088,1.089
  282.                                                                                         c0.039,0.436,0.067,0.872,0.125,1.305c0.056,0.428-0.064,0.749-0.468,0.938C4.907,24.001,4.797,24.001,4.688,24.001z"></path>
  283.                                                 </g>
  284.                                             </svg>
  285.                                         </a>
  286.                                     </div>
  287.                                 </div>
  288.                                 <div class="btn-wordpress-and-commande hidden">
  289.                                     <div class="filter-btn">
  290.                                         <button data-bs-toggle="modal" data-bs-target="#addRessourceModal" class="btn btn-custom bg-custom-pink btn-addressource">
  291.                                             <svg width="20" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
  292.                                                 <path d="M0.92 6.778V4.432H5.313V0.0389988H7.659V4.432H12.052V6.778H7.659V11.171H5.313V6.778H0.92Z" fill="white"/>
  293.                                             </svg>
  294.                                         </button>
  295.                                     </div>
  296.                                 </div>
  297.                             </div>
  298.                         </div>
  299.                     </div>
  300.                 </div>
  301.                 {% if subContractors is not empty  %}
  302.                     <table id="kt_datatable_example_1" class="table table-row-bordered gy-5" {{ stimulus_target('client--index','datatable') }}>
  303.                         <thead>
  304.                             <tr class="fw-bold fs-6 text-muted">
  305.                                 <th></th>
  306.                                 <th>
  307.                                     <span class="flitre-icon">
  308.                                         Nom
  309.                                         <div class="container-icon">
  310.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  311.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  312.                                                     <g clip-path="url(#clip0_2060_1657)">
  313.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  314.                                                     </g>
  315.                                                     <defs>
  316.                                                         <clipPath id="clip0_2060_1657">
  317.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  318.                                                         </clipPath>
  319.                                                     </defs>
  320.                                                 </svg>
  321.                                             </a>
  322.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  323.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  324.                                                     <g clip-path="url(#clip0_2060_1657)">
  325.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  326.                                                     </g>
  327.                                                     <defs>
  328.                                                         <clipPath id="clip0_2060_1657">
  329.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  330.                                                         </clipPath>
  331.                                                     </defs>
  332.                                                 </svg>
  333.                                             </a>
  334.                                         </div>
  335.                                     </span>
  336.                                 </th>
  337.                                 <th>
  338.                                     <span class="flitre-icon">
  339.                                         Rôle
  340.                                         <div class="container-icon">
  341.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  342.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  343.                                                     <g clip-path="url(#clip0_2060_1657)">
  344.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  345.                                                     </g>
  346.                                                     <defs>
  347.                                                         <clipPath id="clip0_2060_1657">
  348.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  349.                                                         </clipPath>
  350.                                                     </defs>
  351.                                                 </svg>
  352.                                             </a>
  353.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  354.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  355.                                                     <g clip-path="url(#clip0_2060_1657)">
  356.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  357.                                                     </g>
  358.                                                     <defs>
  359.                                                         <clipPath id="clip0_2060_1657">
  360.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  361.                                                         </clipPath>
  362.                                                     </defs>
  363.                                                 </svg>
  364.                                             </a>
  365.                                         </div>
  366.                                     </span>
  367.                                 </th>
  368.                                 <th>
  369.                                     <span class="flitre-icon">
  370.                                         Téléphone
  371.                                         <div class="container-icon">
  372.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  373.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  374.                                                     <g clip-path="url(#clip0_2060_1657)">
  375.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  376.                                                     </g>
  377.                                                     <defs>
  378.                                                         <clipPath id="clip0_2060_1657">
  379.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  380.                                                         </clipPath>
  381.                                                     </defs>
  382.                                                 </svg>
  383.                                             </a>
  384.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  385.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  386.                                                     <g clip-path="url(#clip0_2060_1657)">
  387.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  388.                                                     </g>
  389.                                                     <defs>
  390.                                                         <clipPath id="clip0_2060_1657">
  391.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  392.                                                         </clipPath>
  393.                                                     </defs>
  394.                                                 </svg>
  395.                                             </a>
  396.                                         </div>
  397.                                     </span>
  398.                                 </th>
  399.                                 <th style="text-align:left" class="w-mail">
  400.                                     <span class="flitre-icon">
  401.                                         E-mail
  402.                                         <div class="container-icon">
  403.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  404.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  405.                                                     <g clip-path="url(#clip0_2060_1657)">
  406.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  407.                                                     </g>
  408.                                                     <defs>
  409.                                                         <clipPath id="clip0_2060_1657">
  410.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  411.                                                         </clipPath>
  412.                                                     </defs>
  413.                                                 </svg>
  414.                                             </a>
  415.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  416.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  417.                                                     <g clip-path="url(#clip0_2060_1657)">
  418.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  419.                                                     </g>
  420.                                                     <defs>
  421.                                                         <clipPath id="clip0_2060_1657">
  422.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  423.                                                         </clipPath>
  424.                                                     </defs>
  425.                                                 </svg>
  426.                                             </a>
  427.                                         </div>
  428.                                     </span>
  429.                                 </th>
  430.                                 <th style="text-align:left" class="w-metier">
  431.                                     <span class="flitre-icon">
  432.                                         Métier
  433.                                         <div class="container-icon">
  434.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  435.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  436.                                                     <g clip-path="url(#clip0_2060_1657)">
  437.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  438.                                                     </g>
  439.                                                     <defs>
  440.                                                         <clipPath id="clip0_2060_1657">
  441.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  442.                                                         </clipPath>
  443.                                                     </defs>
  444.                                                 </svg>
  445.                                             </a>
  446.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  447.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  448.                                                     <g clip-path="url(#clip0_2060_1657)">
  449.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  450.                                                     </g>
  451.                                                     <defs>
  452.                                                         <clipPath id="clip0_2060_1657">
  453.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  454.                                                         </clipPath>
  455.                                                     </defs>
  456.                                                 </svg>
  457.                                             </a>
  458.                                         </div>
  459.                                     </span>
  460.                                 </th>
  461.                                  <th style="text-align:left" class="w-metier">
  462.                                     <span class="flitre-icon">
  463.                                         Services
  464.                                         <div class="container-icon">
  465.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  466.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  467.                                                     <g clip-path="url(#clip0_2060_1657)">
  468.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  469.                                                     </g>
  470.                                                     <defs>
  471.                                                         <clipPath id="clip0_2060_1657">
  472.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  473.                                                         </clipPath>
  474.                                                     </defs>
  475.                                                 </svg>
  476.                                             </a>
  477.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  478.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  479.                                                     <g clip-path="url(#clip0_2060_1657)">
  480.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  481.                                                     </g>
  482.                                                     <defs>
  483.                                                         <clipPath id="clip0_2060_1657">
  484.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  485.                                                         </clipPath>
  486.                                                     </defs>
  487.                                                 </svg>
  488.                                             </a>
  489.                                         </div>
  490.                                     </span>
  491.                                 </th>
  492.                                 {# <th>Fonctionnement</th> #}
  493.                                 <th class="w-tarif">
  494.                                     <span class="flitre-icon">
  495.                                        TJM
  496.                                         <div class="container-icon">
  497.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  498.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  499.                                                     <g clip-path="url(#clip0_2060_1657)">
  500.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  501.                                                     </g>
  502.                                                     <defs>
  503.                                                         <clipPath id="clip0_2060_1657">
  504.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  505.                                                         </clipPath>
  506.                                                     </defs>
  507.                                                 </svg>
  508.                                             </a>
  509.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  510.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  511.                                                     <g clip-path="url(#clip0_2060_1657)">
  512.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  513.                                                     </g>
  514.                                                     <defs>
  515.                                                         <clipPath id="clip0_2060_1657">
  516.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  517.                                                         </clipPath>
  518.                                                     </defs>
  519.                                                 </svg>
  520.                                             </a>
  521.                                         </div>
  522.                                     </span>
  523.                                 </th>
  524.                                 <th style="text-align:left;">
  525.                                     <span class="flitre-icon">
  526.                                        Statut
  527.                                         <div class="container-icon">
  528.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  529.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  530.                                                     <g clip-path="url(#clip0_2060_1657)">
  531.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  532.                                                     </g>
  533.                                                     <defs>
  534.                                                         <clipPath id="clip0_2060_1657">
  535.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  536.                                                         </clipPath>
  537.                                                     </defs>
  538.                                                 </svg>
  539.                                             </a>
  540.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  541.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  542.                                                     <g clip-path="url(#clip0_2060_1657)">
  543.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  544.                                                     </g>
  545.                                                     <defs>
  546.                                                         <clipPath id="clip0_2060_1657">
  547.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  548.                                                         </clipPath>
  549.                                                     </defs>
  550.                                                 </svg>
  551.                                             </a>
  552.                                         </div>
  553.                                     </span>
  554.                                 </th>
  555.                                 {# APP mobile #}
  556.                                 <th style="text-align:left;">
  557.                                     <span class="flitre-icon">
  558.                                        App mobile
  559.                                         <div class="container-icon">
  560.                                             <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  561.                                                 <svg style="transform: rotate(181deg);margin-bottom: -11px;" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg">
  562.                                                     <g clip-path="url(#clip0_2060_1657)">
  563.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  564.                                                     </g>
  565.                                                     <defs>
  566.                                                         <clipPath id="clip0_2060_1657">
  567.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  568.                                                         </clipPath>
  569.                                                     </defs>
  570.                                                 </svg>
  571.                                             </a>
  572.                                             <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  573.                                                 <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  574.                                                     <g clip-path="url(#clip0_2060_1657)">
  575.                                                         <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  576.                                                     </g>
  577.                                                     <defs>
  578.                                                         <clipPath id="clip0_2060_1657">
  579.                                                             <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  580.                                                         </clipPath>
  581.                                                     </defs>
  582.                                                 </svg>
  583.                                             </a>
  584.                                         </div>
  585.                                     </span>
  586.                                 </th>
  587.                                 {# fin APP mobile #}
  588.                                 <th>Action</th>
  589.                             </tr>
  590.                             <tr class="hidden">
  591.                                 <th></th>
  592.                                 <th></th>
  593.                                 <th></th>
  594.                                 <th></th>
  595.                                 <th></th>
  596.                                 <th></th>
  597.                                 {# <th>Fonctionnement</th> #}
  598.                                 <th></th>
  599.                                 <th></th>
  600.                                 <th style="width:100px;"class="pl-0">
  601.                                     <select name="" class="select-sort-user" id="status_filter" {{ stimulus_action('client--index', 'filter', 'change') }}>
  602.                                         <option value="">Tous</option>
  603.                                         <option value="actif">Actif</option>
  604.                                         <option value="en attente">En attente</option>
  605.                                     </select>
  606.                                 </th>
  607.                                 <th></th>
  608.                                 <th></th>
  609.                             </tr>
  610.                         </thead>
  611.                         <tbody>
  612.                         {% set ROLE_MANAGER = ['ROLE_MANAGER'] %}
  613.                         {% for subContractor in subContractors %}
  614.                             <tr>
  615.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  616.                                 <div style="position:relative">
  617.                                         {% if subContractor.pictureName is not empty %}
  618.                                             <img src="{{ vich_uploader_asset(subContractor, 'picture') }}" class="_profil-image-user" style="width: 32px; height:32px; border-radius: 15px;    object-fit: cover;">
  619.                                         {% else %}
  620.                                             <div class="symbol symbol-35px">
  621.                                                 <div class="_profil-image-user">
  622.                                                     {{ subContractor.firstname|slice(0,1) }}{{ subContractor.lastname|slice(0,1) }}
  623.                                                 </div>
  624.                                             </div>
  625.                                         {% endif %}
  626.                                         
  627.                                         {% if subContractor.getLastActivityInMinute() < 10  %}
  628.                                             <span class="status-online" ></span>
  629.                                         {% else %}
  630.                                             <span class="status-offline" ></span>
  631.                                         {% endif %}
  632.                                     </div>
  633.                                 </td>
  634.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  635.                                     {{ subContractor.firstname }} {{ subContractor.lastname }}
  636.                                     <span style="display: block;white-space: nowrap;font-size: 10px;font-weight: bold;color: gray;">Annuaire: {{subContractor.acceptPresentation ? 'Oui' : 'Non'}}</span>
  637.                                     {% if 'ROLE_BOT' in subContractor.roles %}
  638.                                         <strong>(BOT)</strong>
  639.                                     {% endif %}
  640.                                 </td>
  641.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  642.                                 
  643.                                     {% if subContractor.manager == true %}
  644.                                         Gestionnaire 
  645.                                     {% endif %}
  646.                                     {% if subContractor.salary == true %}
  647.                                         Salarié 
  648.                                     {% endif %}
  649.                                     {% if subContractor.partner == true %}
  650.                                         Partenaire
  651.                                     {% endif %}
  652.                                 </td>
  653.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;color: #344054;text-decoration: none;">{{ subContractor.cellPhone }}</td>
  654.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;max-width:218px;"><a class="text-decoration-underline" style="color: #344054;text-decoration: none !important;display:block;max-width:95px;" href="mailto: {% if subContractor.myFlowEmail is not null %}
  655.                                         {{ subContractor.myFlowEmail }}
  656.                                     {% else %}
  657.                                         {{ subContractor.email }}
  658.                                     {% endif %}">
  659.                                     {% if subContractor.myFlowEmail is not null %}
  660.                                         {{ subContractor.myFlowEmail }}
  661.                                     {% else %}
  662.                                         {{ subContractor.email }}
  663.                                     {% endif %}
  664.                                 </a></td>
  665.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  666.                                    {% if subContractor.manager != true %} 
  667.                                         <div class="content-tooltips tooltips">
  668.                                             <div class="more-service">
  669.                                                 {{ subContractor.jobs|join(', ') }}
  670.                                             </div>
  671.                                             <div align="center" class="content-mission-tooltips">
  672.                                                 <p class="mission-tooltips" style="min-width:300px !important;">
  673.                                                    {{ subContractor.jobs|join(', ') }}
  674.                                                 </p>
  675.                                             </div>
  676.                                         </div>
  677.                                    {% endif %}
  678.                                 </td>
  679.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  680.                                     <div class="content-tooltips tooltips">
  681.                                         <div class="more-service">
  682.                                             {% for service in subcontractor_service(subContractor.id) %}
  683.                                                 {{ service.product.name }}
  684.                                             {% endfor %}
  685.                                         </div>
  686.                                         <div align="center" class="content-mission-tooltips">
  687.                                             <p class="mission-tooltips" style="min-width: 475px !important;">
  688.                                                 {% for service in subcontractor_service(subContractor.id) %}
  689.                                                     {{ service.product.name }} <br>
  690.                                                 {% endfor %}
  691.                                             </p>
  692.                                         </div>
  693.                                     </div>
  694.                                 </td>
  695.                                 {# <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;">
  696.                                     {% if subContractor.billingMethod == 1 %}
  697.                                         Facturation au temps passé
  698.                                     {% else %}
  699.                                         Facturation à la prestation
  700.                                     {% endif %}
  701.                                 </td> #}
  702.                                 <td onclick="goTo('{{ path('sub_contractor_edit', {'id':subContractor.id}) }}')" style="cursor: pointer;vertical-align: middle;">{{ subContractor.dailyRate }} €</td>
  703.                                 <td style="cursor: pointer;vertical-align: middle;">
  704.                                     <a href="{{ path('subcontractor_toggle_availabilty', {'availabilty': subContractor.enabled ? 'disable' : 'enable', 'id': subContractor.id}) }}">
  705.                                         {% if subContractor.enabled == 0 %}
  706.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-x" viewbox="0 0 16 16">
  707.                                                 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
  708.                                             </svg>
  709.                                             (En attente)
  710.                                         {% elseif subContractor.resaleRate is empty %}
  711.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-x" viewbox="0 0 16 16">
  712.                                                 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
  713.                                             </svg>
  714.                                             (A completer)
  715.                                         {% elseif subContractor.resaleRate is not empty and subContractor.enabled == true %}
  716.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-check2" viewbox="0 0 16 16">
  717.                                                 <path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
  718.                                             </svg>
  719.                                             <span style="visibility: hidden;">Actif</span>
  720.                                         {% endif %}
  721.                                     </a>
  722.                                 </td>
  723.                                 {# APP mobile #}
  724.                                 <td style="cursor: pointer;vertical-align: middle;">
  725.                                     <a>
  726.                                         {% if subContractor|user_have_app %}
  727.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-check2" viewbox="0 0 16 16">
  728.                                                 <path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
  729.                                             </svg>
  730.                                             <span style="visibility: hidden;">1</span>
  731.                                         {% else %}
  732.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-x" viewbox="0 0 16 16">
  733.                                                 <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
  734.                                             </svg>
  735.                                             <span style="visibility: hidden;">0</span>
  736.                                         {% endif %}
  737.                                         
  738.                                         
  739.                                     </a>
  740.                                 </td>
  741.                                 {# fin APP mobile #}
  742.                                 <td>
  743.                                 <div class="dropdown">
  744.                                     <button data-bs-toggle="dropdown" aria-expanded="false" class="btn btn-transparant" id="buttonactionSoustraitant{{subContractor.id}}">
  745.                                         <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-three-dots" viewBox="0 0 16 16">
  746.                                             <path d="M3 9.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
  747.                                         </svg>
  748.                                     </button>
  749.                                     <div class="dropdown-menu menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-600 menu-state-bg-light-primary fw-bold fs-7 w-200px py-4"
  750.                                         data-kt-menu="true" aria-labelledby="buttonactionSoustraitant{{subContractor.id}}">
  751.                                         <div class="menu-item px-3">
  752.                                         
  753.                                             <a href="{{ path('sub_contractor_edit', {'id':subContractor.id}) }}" class="menu-link px-3">
  754.                                                 Modifier
  755.                                             </a>
  756.                                         
  757.                                         </div>
  758.                                         {% if subContractor.enabled == 0 %}
  759.                                             <div class="menu-item px-3">
  760.                                                 <a href="{{ path('sub_contractor_resend_registration_email', {'id':subContractor.id}) }}" class="menu-link px-3">
  761.                                                     Renvoyer l'email d'inscription
  762.                                                 </a>
  763.                                             </div>
  764.                                         {% endif %}
  765.                                         <div class="menu-item px-3">
  766.                                             <a href="#" data-url="{{ path('sub_contractor_delete', {'id':subContractor.id}) }}" class="menu-link px-3" {{ stimulus_action('client--index', 'deleteSubcontractor', 'click') }}>
  767.                                                 Supprimer
  768.                                             </a>
  769.                                         </div>
  770.                                     </div>
  771.                                     </div>
  772.                                 </td>
  773.                             </tr>
  774.                         {% endfor %}
  775.                     </table>
  776.                 {% else %}
  777.                     {% if is_agency() == true %}
  778.                         <p class="font-weight-bold text-center mt-8 mb-8"><br>Vous n'avez actuellement aucun membre dans votre équipe. <br>Pour collaborer plus facilement et partager vos projets, ajoutez des membres <a href="{{ path('agency_edit', {'id':company.id, 'userTab':true}) }}">en cliquant ici.</a></p>
  779.                     {% else %}
  780.                         <p class="font-weight-bold text-center mt-8 mb-8"><br>Vous n'avez actuellement aucun membre dans votre équipe. <br>Pour collaborer plus facilement et partager vos projets, ajoutez des membres <a href="{{ path('sub_contractor_new') }}">en cliquant ici.</a></p>
  781.                     {% endif %}
  782.                 {% endif %}
  783.             </div>
  784.         </div>
  785.     </div>
  786. {% include "sub_contractor/_modal_remove_subcontractor.html.twig" %}
  787. {% endblock %}