templates/client/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Liste des clients
  3. {% endblock %}
  4. {% block styles %}
  5.     {{ encore_entry_link_tags('plugins/custom/datatables/datatables.bundle') }}
  6. {% endblock %}
  7. {% block body %}
  8.     <div id="kt_content_container" class="container-fluid" {{ stimulus_controller('client--index') }}>
  9.         <div class="mobile-menu" {{ stimulus_controller('mission--scroll') }}>
  10.             {% if app.request.get('_route') == 'client_index' %}
  11.                 <div class="mobile-head mb-4">
  12.                     <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">
  13.                         <rect width="48" height="40" rx="6" fill="#F1F0F4"/>
  14.                         <path d="M15.75 20L32.25 20" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  15.                         <path d="M15.75 14L32.25 14" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  16.                         <path d="M15.75 26L32.25 26" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  17.                     </svg>
  18.                     
  19.                     <h1 class="text-uppercase">Liste des clients</h1>
  20.                     <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">
  21.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" fill="#F9FAFB"/>
  22.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" stroke="#EAECF0"/>
  23.                         <g clip-path="url(#clip0_1161_6063)">
  24.                         <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"/>
  25.                         <path d="M27.8027 23.8035L32.9993 29" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  26.                         </g>
  27.                         <defs>
  28.                         <clipPath id="clip0_1161_6063">
  29.                         <rect width="24" height="24" fill="white" transform="translate(12 8)"/>
  30.                         </clipPath>
  31.                         </defs>
  32.                     </svg>
  33.                     <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">
  34.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" fill="var(--my-flow-pink)"></rect>
  35.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" stroke="#fff"></rect>
  36.                         <g clip-path="url(#clip0_1161_6063)">
  37.                         <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>
  38.                         <path d="M27.8027 23.8035L32.9993 29" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  39.                         </g>
  40.                         <defs>
  41.                         <clipPath id="clip0_1161_6063">
  42.                         <rect width="24" height="24" fill="white" transform="translate(12 8)"></rect>
  43.                         </clipPath>
  44.                         </defs>
  45.                     </svg>
  46.                 </div>
  47.                 <div class="collapse align-items-center position-relative my-1" id="search_container_mobile" style="flex-direction: column;">
  48.                     <div class="d-flex align-items-center position-relative my-1" style="width: 100%;">
  49.                         <span class="svg-icon svg-icon-1 position-absolute ms-6">
  50.                             <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">
  51.                                 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  52.                                     <rect x="0" y="0" width="24" height="24"/>
  53.                                     <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"/>
  54.                                     <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"/>
  55.                                 </g>
  56.                             </svg>
  57.                         </span>
  58.                         <input type="text" class="form-control form-control w-600px ps-15" placeholder="Rechercher ..." {{ stimulus_action('client--index', 'searchTable', 'keyup') }}/>
  59.                     </div>
  60.                 </div>
  61.             {% endif %}
  62.             {% if app.request.get('_route') == 'client_gestionnaire_index' %}
  63.                 <div class="mobile-head mb-4">
  64.                     <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">
  65.                         <rect width="48" height="40" rx="6" fill="#F1F0F4"/>
  66.                         <path d="M15.75 20L32.25 20" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  67.                         <path d="M15.75 14L32.25 14" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  68.                         <path d="M15.75 26L32.25 26" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  69.                     </svg>
  70.                     
  71.                     <h1 class="text-uppercase">Liste des gestionnaire</h1>
  72.                     <svg id="search_btn_mobile_open"  width="48" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
  73.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" fill="#F9FAFB"/>
  74.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" stroke="#EAECF0"/>
  75.                         <g clip-path="url(#clip0_1161_6063)">
  76.                         <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"/>
  77.                         <path d="M27.8027 23.8035L32.9993 29" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
  78.                         </g>
  79.                         <defs>
  80.                         <clipPath id="clip0_1161_6063">
  81.                         <rect width="24" height="24" fill="white" transform="translate(12 8)"/>
  82.                         </clipPath>
  83.                         </defs>
  84.                     </svg>
  85.                     <svg id="search_btn_mobile_close" width="48" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
  86.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" fill="var(--my-flow-pink)"></rect>
  87.                         <rect x="0.5" y="0.5" width="47" height="39" rx="7.5" stroke="#fff"></rect>
  88.                         <g clip-path="url(#clip0_1161_6063)">
  89.                         <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>
  90.                         <path d="M27.8027 23.8035L32.9993 29" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  91.                         </g>
  92.                         <defs>
  93.                         <clipPath id="clip0_1161_6063">
  94.                         <rect width="24" height="24" fill="white" transform="translate(12 8)"></rect>
  95.                         </clipPath>
  96.                         </defs>
  97.                     </svg>
  98.                 </div>
  99.                 <div class="collapse align-items-center position-relative my-1" id="search_container_mobile" style="flex-direction: column;">
  100.                     <div class="d-flex align-items-center position-relative my-1" style="width: 100%;">
  101.                         <span class="svg-icon svg-icon-1 position-absolute ms-6">
  102.                             <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">
  103.                                 <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  104.                                     <rect x="0" y="0" width="24" height="24"/>
  105.                                     <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"/>
  106.                                     <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"/>
  107.                                 </g>
  108.                             </svg>
  109.                         </span>
  110.                         <input type="text" class="form-control form-control " placeholder="Rechercher ..." {{ stimulus_action('client--index', 'searchTable', 'keyup') }}/>
  111.                     </div>
  112.                 </div>
  113.             {% endif %}
  114.         </div>
  115.         <div class="titre-header client title-header-client">
  116.             {% if app.request.get('_route') == 'client_index' %}
  117.                 <h1 class="text-uppercase mobile-none">Liste des clients</h1>
  118.                 {# <div class="d-flex align-items-center position-relative my-1 mobile-none">
  119.                     <span class="svg-icon svg-icon-1 position-absolute ms-6">
  120.                         <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">
  121.                             <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  122.                                 <rect x="0" y="0" width="24" height="24"/>
  123.                                 <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"/>
  124.                                 <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"/>
  125.                             </g>
  126.                         </svg>
  127.                     </span>
  128.                     <input type="text" class="form-control form-control w-600px ps-15" placeholder="Rechercher ..." {{ stimulus_action('client--index', 'searchTable', 'keyup') }}/>
  129.                 </div> #}
  130.                 <div clas="container-export">
  131.                     <a href="{{ path('client_new') }}" class="btn btn-primary-custom font-weight-bold">
  132.                         <i class="fas fa-plus-circle text-white pr-2"></i>Ajouter
  133.                     </a>
  134.                     <a href="{{path('client_export',{'type':'client'})}}" target="_blank" class="btn btn-primary">Exporter</a>
  135.                 </div>
  136.                 
  137.             {% endif %}
  138.             {% if app.request.get('_route') == 'client_gestionnaire_index' %}
  139.                 
  140.                 <h1 class="text-uppercase  mobile-none">Liste des gestionnaire</h1>
  141.                 <div class="d-flex align-items-center position-relative my-1  mobile-none">
  142.                     <span class="svg-icon svg-icon-1 position-absolute ms-6">
  143.                         <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">
  144.                             <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
  145.                                 <rect x="0" y="0" width="24" height="24"/>
  146.                                 <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"/>
  147.                                 <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"/>
  148.                             </g>
  149.                         </svg>
  150.                     </span>
  151.                     <input type="text" class="form-control form-control w-600px ps-15" placeholder="Rechercher ..." {{ stimulus_action('client--index', 'searchTable', 'keyup') }}/>
  152.                 </div>
  153.                 <div clas="container-export">
  154.                     <a href="{{ path('client_gestionaires_new') }}" class="btn btn-primary-custom font-weight-bold">
  155.                         <i class="fas fa-plus-circle text-white"></i>Ajouter
  156.                     </a>
  157.                     
  158.                 </div>
  159.                 
  160.             {% endif %}
  161.         </div>
  162.         <div class="card shadow-sm mt-5" data-live-ignore>
  163.             <div class="card-body">
  164.                 {{ include('client/_menus_client.html.twig') }}
  165.                 <div class="ctn-filter ctn-filter mt-8 my-4" style="align-items:baseline">
  166.                     <div>
  167.                         <button id="show-filter" class="btn btn-filter collapsed " data-toggle="collapse" data-target="#refontefilterfile" aria-expanded="false" aria-controls="collapsefilter">Filtrer
  168.                             <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
  169.                                 <g clip-path="url(#clip0_2053_1644)">
  170.                                     <path d="M6 13.25H18" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
  171.                                     <path d="M2.25 8.75H21.75" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
  172.                                     <path d="M9.75 17.75H14.25" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
  173.                                 </g>
  174.                                 <defs>
  175.                                     <clipPath id="clip0_2053_1644">
  176.                                         <rect width="24" height="24" fill="white" transform="translate(0 0.5)"></rect>
  177.                                     </clipPath>
  178.                                 </defs>
  179.                             </svg>
  180.                         </button>
  181.                     </div>
  182.                     <div class="ml-4 w-96" style="width: 96%;overflow-x: auto;">
  183.                         <div class="container-filter collapse " id="refontefilterfile" style="">
  184.                             <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;  ">
  185.                                 <div class="div-relative">
  186.                                     <input  type="text"
  187.                                         style="margin-right: 10px;"
  188.                                         class="form-control input-search mb-0"
  189.                                         placeholder="Recherchez par nom, prénom, ..."
  190.                                             {{ stimulus_action('client--index', 'searchTableThreeColonne', 'keyup') }}
  191.                                     />
  192.                                     <button class="icon-search " type="submit">
  193.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  194.                                             <g clip-path="url(#clip0_2027_2078)">
  195.                                                 <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>
  196.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  197.                                             </g>
  198.                                             <defs>
  199.                                                 <clipPath id="clip0_2027_2078">
  200.                                                     <rect width="24" height="24" fill="white"></rect>
  201.                                                 </clipPath>
  202.                                             </defs>
  203.                                         </svg>
  204.                                     </button>
  205.                                 </div>
  206.                                 <div class="div-relative">
  207.                                     <input  type="text"
  208.                                         style="margin-right: 10px;"
  209.                                         class="form-control input-search mb-0"
  210.                                         placeholder="Recherchez par rôle"
  211.                                             {{ stimulus_action('client--index', 'searchTableRoleClient', 'keyup') }}
  212.                                     />
  213.                                     <button class="icon-search ">
  214.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  215.                                             <g clip-path="url(#clip0_2027_2078)">
  216.                                                 <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>
  217.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  218.                                             </g>
  219.                                             <defs>
  220.                                                 <clipPath id="clip0_2027_2078">
  221.                                                     <rect width="24" height="24" fill="white"></rect>
  222.                                                 </clipPath>
  223.                                             </defs>
  224.                                         </svg>
  225.                                     </button>
  226.                                 </div>
  227.                                 <div class="div-relative">
  228.                                    <select name="" class="select-sort-user my-0 mx-0" id="status_filter" {{ stimulus_action('client--index', 'filter', 'change') }}>
  229.                                         <option value="">Recherchez par activation</option>
  230.                                         <option value="1">Oui</option>
  231.                                         <option value="0">Non</option>
  232.                                     </select>
  233.                                     <button class="icon-search ">
  234.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  235.                                             <g clip-path="url(#clip0_2027_2078)">
  236.                                                 <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>
  237.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  238.                                             </g>
  239.                                             <defs>
  240.                                                 <clipPath id="clip0_2027_2078">
  241.                                                     <rect width="24" height="24" fill="white"></rect>
  242.                                                 </clipPath>
  243.                                             </defs>
  244.                                         </svg>
  245.                                     </button>
  246.                                 </div>
  247.                                 
  248.                                 <div class="div-relative">
  249.                                     <input  type="text"
  250.                                         style="margin-right: 10px;"
  251.                                         class="form-control input-search mb-0"
  252.                                         placeholder="Recherchez par entreprise"
  253.                                             {{ stimulus_action('client--index', 'searchTableEnterprisesClients', 'keyup') }}
  254.                                     />
  255.                                     <button class="icon-search ">
  256.                                         <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
  257.                                             <g clip-path="url(#clip0_2027_2078)">
  258.                                                 <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>
  259.                                                 <path d="M15.8035 15.8035L21 21" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
  260.                                             </g>
  261.                                             <defs>
  262.                                                 <clipPath id="clip0_2027_2078">
  263.                                                     <rect width="24" height="24" fill="white"></rect>
  264.                                                 </clipPath>
  265.                                             </defs>
  266.                                         </svg>
  267.                                     </button>
  268.                                 </div>
  269.                                 <div class="filter-btn ">
  270.                                     <div class="btn-wordpress-and-commande">
  271.                                         <a title="Réinitialiser" href="/admin/clients" class="btn btn-custom bg-custom-pink">
  272.                                             <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">
  273.                                                 <g>
  274.                                                     <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
  275.                                                                                         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
  276.                                                                                         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
  277.                                                                                         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
  278.                                                                                         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
  279.                                                                                         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
  280.                                                                                         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
  281.                                                                                         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
  282.                                                                                         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
  283.                                                                                         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
  284.                                                                                         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
  285.                                                                                         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
  286.                                                                                         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
  287.                                                                                         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
  288.                                                                                         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
  289.                                                                                         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
  290.                                                                                         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
  291.                                                                                         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
  292.                                                                                         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>
  293.                                                     <path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M19.501,0c0.348,0.164,0.483,0.436,0.494,0.82
  294.                                                                                         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
  295.                                                                                         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
  296.                                                                                         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
  297.                                                                                         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
  298.                                                                                         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
  299.                                                                                         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
  300.                                                                                         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
  301.                                                                                         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>
  302.                                                     <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
  303.                                                                                         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
  304.                                                                                         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
  305.                                                                                         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
  306.                                                                                         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
  307.                                                                                         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
  308.                                                                                         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
  309.                                                                                         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
  310.                                                                                         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
  311.                                                                                         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>
  312.                                                 </g>
  313.                                             </svg>
  314.                                         </a>
  315.                                     </div>
  316.                                 </div>
  317.                                 <div class="btn-wordpress-and-commande hidden">
  318.                                     <div class="filter-btn">
  319.                                         <button data-bs-toggle="modal" data-bs-target="#addRessourceModal" class="btn btn-custom bg-custom-pink btn-addressource">
  320.                                             <svg width="20" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
  321.                                                 <path d="M0.92 6.778V4.432H5.313V0.0389988H7.659V4.432H12.052V6.778H7.659V11.171H5.313V6.778H0.92Z" fill="white"/>
  322.                                             </svg>
  323.                                         </button>
  324.                                     </div>
  325.                                 </div>
  326.                             </div>
  327.                         </div>
  328.                     </div>
  329.                 </div>
  330.                 <table id="kt_datatable_example_1" class="table table-row-bordered gy-5" {{ stimulus_target('client--index','datatable') }} data-live-ignore>
  331.                     <thead>
  332.                         <tr class="fw-bold fs-6 text-muted" style="text-align: center;">
  333.                             <th class="align-top" style="vertical-align: middle !important;">
  334.                                 <span class="flitre-icon">
  335.                                     Nom 
  336.                                     <div class="container-icon">
  337.                                         <a href="#" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}  >
  338.                                             <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">
  339.                                                 <g clip-path="url(#clip0_2060_1657)">
  340.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  341.                                                 </g>
  342.                                                 <defs>
  343.                                                     <clipPath id="clip0_2060_1657">
  344.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  345.                                                     </clipPath>
  346.                                                 </defs>
  347.                                             </svg>
  348.                                         </a>
  349.                                         <a href="#" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }} >
  350.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  351.                                                 <g clip-path="url(#clip0_2060_1657)">
  352.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  353.                                                 </g>
  354.                                                 <defs>
  355.                                                     <clipPath id="clip0_2060_1657">
  356.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  357.                                                     </clipPath>
  358.                                                 </defs>
  359.                                             </svg>
  360.                                         </a>
  361.                                     </div>
  362.                                 </span>
  363.                             </th>
  364.                             {# <th class="align-top" style="vertical-align: middle !important;">
  365.                                 <span class="flitre-icon">
  366.                                     Nom
  367.                                     <div class="container-icon">
  368.                                         <a href="#" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  369.                                             <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">
  370.                                                 <g clip-path="url(#clip0_2060_1657)">
  371.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  372.                                                 </g>
  373.                                                 <defs>
  374.                                                     <clipPath id="clip0_2060_1657">
  375.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  376.                                                     </clipPath>
  377.                                                 </defs>
  378.                                             </svg>
  379.                                         </a>
  380.                                         <a href="#" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  381.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  382.                                                 <g clip-path="url(#clip0_2060_1657)">
  383.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  384.                                                 </g>
  385.                                                 <defs>
  386.                                                     <clipPath id="clip0_2060_1657">
  387.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  388.                                                     </clipPath>
  389.                                                 </defs>
  390.                                             </svg>
  391.                                         </a>
  392.                                     </div>
  393.                                 </span>
  394.                             </th> #}
  395.                             <th class="align-top" style="vertical-align: middle !important;text-align: left;">
  396.                                 <span class="flitre-icon">
  397.                                     Email
  398.                                     <div class="container-icon">
  399.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  400.                                             <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">
  401.                                                 <g clip-path="url(#clip0_2060_1657)">
  402.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  403.                                                 </g>
  404.                                                 <defs>
  405.                                                     <clipPath id="clip0_2060_1657">
  406.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  407.                                                     </clipPath>
  408.                                                 </defs>
  409.                                             </svg>
  410.                                         </a>
  411.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  412.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  413.                                                 <g clip-path="url(#clip0_2060_1657)">
  414.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  415.                                                 </g>
  416.                                                 <defs>
  417.                                                     <clipPath id="clip0_2060_1657">
  418.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  419.                                                     </clipPath>
  420.                                                 </defs>
  421.                                             </svg>
  422.                                         </a>
  423.                                     </div>
  424.                                 </span>
  425.                             </th>
  426.                             <th class="align-top" style="vertical-align: middle !important;text-align: left;">
  427.                                 <span class="flitre-icon">
  428.                                     Rôle
  429.                                     <div class="container-icon">
  430.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  431.                                             <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">
  432.                                                 <g clip-path="url(#clip0_2060_1657)">
  433.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  434.                                                 </g>
  435.                                                 <defs>
  436.                                                     <clipPath id="clip0_2060_1657">
  437.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  438.                                                     </clipPath>
  439.                                                 </defs>
  440.                                             </svg>
  441.                                         </a>
  442.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  443.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  444.                                                 <g clip-path="url(#clip0_2060_1657)">
  445.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  446.                                                 </g>
  447.                                                 <defs>
  448.                                                     <clipPath id="clip0_2060_1657">
  449.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  450.                                                     </clipPath>
  451.                                                 </defs>
  452.                                             </svg>
  453.                                         </a>
  454.                                     </div>
  455.                                 </span>
  456.                             </th>
  457.                             <th class="align-top" style="vertical-align: middle !important;">
  458.                                 
  459.                                 <span class="flitre-icon">
  460.                                     Téléphone
  461.                                     <div class="container-icon">
  462.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  463.                                             <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">
  464.                                                 <g clip-path="url(#clip0_2060_1657)">
  465.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  466.                                                 </g>
  467.                                                 <defs>
  468.                                                     <clipPath id="clip0_2060_1657">
  469.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  470.                                                     </clipPath>
  471.                                                 </defs>
  472.                                             </svg>
  473.                                         </a>
  474.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  475.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  476.                                                 <g clip-path="url(#clip0_2060_1657)">
  477.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  478.                                                 </g>
  479.                                                 <defs>
  480.                                                     <clipPath id="clip0_2060_1657">
  481.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  482.                                                     </clipPath>
  483.                                                 </defs>
  484.                                             </svg>
  485.                                         </a>
  486.                                     </div>
  487.                                 </span>
  488.                             </th>
  489.                             <th class="align-top" style="vertical-align: middle !important;">
  490.                                 <span class="flitre-icon">
  491.                                     Entreprise
  492.                                     <div class="container-icon">
  493.                                         <a href="?name-short=ASC" class="icon-linkd"  {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  494.                                             <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">
  495.                                                 <g clip-path="url(#clip0_2060_1657)">
  496.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  497.                                                 </g>
  498.                                                 <defs>
  499.                                                     <clipPath id="clip0_2060_1657">
  500.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  501.                                                     </clipPath>
  502.                                                 </defs>
  503.                                             </svg>
  504.                                         </a>
  505.                                         <a href="?name-short=DESC" class="icon-link2s"  {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  506.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  507.                                                 <g clip-path="url(#clip0_2060_1657)">
  508.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  509.                                                 </g>
  510.                                                 <defs>
  511.                                                     <clipPath id="clip0_2060_1657">
  512.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  513.                                                     </clipPath>
  514.                                                 </defs>
  515.                                             </svg>
  516.                                         </a>
  517.                                     </div>
  518.                                 </span>
  519.                             </th>
  520.                             <th class="align-top" style="vertical-align: middle !important;">
  521.                                 <span class="flitre-icon">
  522.                                     Activé
  523.                                     <div class="container-icon">
  524.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  525.                                             <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">
  526.                                                 <g clip-path="url(#clip0_2060_1657)">
  527.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  528.                                                 </g>
  529.                                                 <defs>
  530.                                                     <clipPath id="clip0_2060_1657">
  531.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  532.                                                     </clipPath>
  533.                                                 </defs>
  534.                                             </svg>
  535.                                         </a>
  536.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  537.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  538.                                                 <g clip-path="url(#clip0_2060_1657)">
  539.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  540.                                                 </g>
  541.                                                 <defs>
  542.                                                     <clipPath id="clip0_2060_1657">
  543.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  544.                                                     </clipPath>
  545.                                                 </defs>
  546.                                             </svg>
  547.                                         </a>
  548.                                     </div>
  549.                                 </span>
  550.                             </th>
  551.                             {# APP mobile #}
  552.                             <th style="text-align:left;">
  553.                                 <span class="flitre-icon">
  554.                                     App mobile
  555.                                     <div class="container-icon">
  556.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  557.                                             <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">
  558.                                                 <g clip-path="url(#clip0_2060_1657)">
  559.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  560.                                                 </g>
  561.                                                 <defs>
  562.                                                     <clipPath id="clip0_2060_1657">
  563.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  564.                                                     </clipPath>
  565.                                                 </defs>
  566.                                             </svg>
  567.                                         </a>
  568.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  569.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  570.                                                 <g clip-path="url(#clip0_2060_1657)">
  571.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  572.                                                 </g>
  573.                                                 <defs>
  574.                                                     <clipPath id="clip0_2060_1657">
  575.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  576.                                                     </clipPath>
  577.                                                 </defs>
  578.                                             </svg>
  579.                                         </a>
  580.                                     </div>
  581.                                 </span>
  582.                             </th>
  583.                             {# fin APP mobile #}
  584.                             <th class="align-top" style="vertical-align: middle !important;">
  585.                                 <span class="flitre-icon">
  586.                                     Date de création
  587.                                     <div class="container-icon">
  588.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  589.                                             <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">
  590.                                                 <g clip-path="url(#clip0_2060_1657)">
  591.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  592.                                                 </g>
  593.                                                 <defs>
  594.                                                     <clipPath id="clip0_2060_1657">
  595.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  596.                                                     </clipPath>
  597.                                                 </defs>
  598.                                             </svg>
  599.                                         </a>
  600.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  601.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  602.                                                 <g clip-path="url(#clip0_2060_1657)">
  603.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  604.                                                 </g>
  605.                                                 <defs>
  606.                                                     <clipPath id="clip0_2060_1657">
  607.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  608.                                                     </clipPath>
  609.                                                 </defs>
  610.                                             </svg>
  611.                                         </a>
  612.                                     </div>
  613.                                 </span>
  614.                             </th>
  615.                             <th class="align-top" style="vertical-align: middle !important;">
  616.                                 <span class="flitre-icon">
  617.                                     Dernière visite
  618.                                     <div class="container-icon">
  619.                                         <a href="?name-short=ASC" class="icon-linkd" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  620.                                             <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">
  621.                                                 <g clip-path="url(#clip0_2060_1657)">
  622.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  623.                                                 </g>
  624.                                                 <defs>
  625.                                                     <clipPath id="clip0_2060_1657">
  626.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  627.                                                     </clipPath>
  628.                                                 </defs>
  629.                                             </svg>
  630.                                         </a>
  631.                                         <a href="?name-short=DESC" class="icon-link2s" {{ stimulus_action('client--index', 'sortTable', 'click') }}>
  632.                                             <svg width="16" height="17" viewBox="0 0 16 17" style="margin-top: -11px;" fill="none" xmlns="http://www.w3.org/2000/svg">
  633.                                                 <g clip-path="url(#clip0_2060_1657)">
  634.                                                     <path d="M13 6.5L8 11.5L3 6.5" stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"></path>
  635.                                                 </g>
  636.                                                 <defs>
  637.                                                     <clipPath id="clip0_2060_1657">
  638.                                                         <rect width="16" height="16" fill="white" transform="translate(0 0.5)"></rect>
  639.                                                     </clipPath>
  640.                                                 </defs>
  641.                                             </svg>
  642.                                         </a>
  643.                                     </div>
  644.                                 </span>
  645.                             </th>
  646.                             <th></th>
  647.                         </tr>
  648.                          {# <tr>
  649.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  650.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  651.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  652.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  653.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  654.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  655.                             <th>
  656.                                 <select name="" class="select-sort-user" id="status_filter" {{ stimulus_action('client--index', 'filter', 'change') }}>
  657.                                     <option value="">Tous</option>
  658.                                     <option value="1">Oui</option>
  659.                                     <option value="0">Non</option>
  660.                                  </select>
  661.                             </th>
  662.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  663.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  664.                             <th class="align-top" style="vertical-align: middle !important;"></th>
  665.                         </tr> #}
  666.                     </thead>
  667.                     <tbody>
  668.                         <tr style="display:none;">
  669.                             <td ></td>
  670.                             <td ></td>
  671.                             <td ></td>
  672.                             <td >
  673.                                 <select id="Contrat" style="background: #F9FAFC;width: 170px;height: 35px;border-radius: 5px;border: 1px #A1A5B7 solid;color: #a1a5b7;font-family: Basis Grotesque Pro;">
  674.                                     <option value="Pack de crédit">Pack de crédit</option>
  675.                                     <option value="Facturation fin de mois">Facturation fin de mois</option>
  676.                                     <option value="Facturation mensuelle">Facturation mensuelle</option>
  677.                                     <option value="Comptant">Comptant</option>
  678.                                 </select>
  679.                             </td>
  680.                             <td ></td>
  681.                             <td ></td>
  682.                             <td ></td>
  683.                             <td ></td>
  684.                             <td ></td>
  685.                             <td >
  686.                                 <div class="btn-wordpress-and-commande"style="text-align: right;">
  687.                                     <a href="#" style="font-weight: 500;font-size: 12px;padding: 5px 15px; margin-bottom:5px;" class="btn btn-custom bg-custom-pink">Rechercher</a>
  688.                                 </div>
  689.                                 <div class="btn-wordpress-and-commande"style="text-align: right;">
  690.                                     <a href="#" style="font-weight: 500;font-size: 12px;padding: 5px 15px;" class="btn btn-custom bg-custom-pink">Réinitialiser</a>
  691.                                 </div>
  692.                             </td>
  693.                         </tr>
  694.                         {% for client in clients %}
  695.                             <tr>
  696.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  697.                                         <div style="position : relative;display: flex;align-items: center;gap: 5px;">
  698.                                             {# {% if client.getLastActivityInMinute() < 10 %}
  699.                                                 <span class="actif" title ="Actuellement connecté"style="height: 10px;width: 10px;display: inline-block;background: #1b861b;border-radius: 5px;position: absolute;left: -15px;top: 5px;"></span>
  700.                                             {% endif %} #}
  701.                                             {% if client.getLastActivityInMinute() < 10 %}
  702.                                                 <span class="status-online" style="position: static;"></span>
  703.                                             {% else %}
  704.                                                 <span class="status-offline" style="position: static;"></span>
  705.                                             {% endif %}
  706.                                             <span>{{ client.lastname }} {{ client.firstname }}</span>
  707.                                         </div>
  708.                                 </td>
  709.                                 {# <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;">{{ client.lastname }}</td> #}
  710.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;"><div style="max-width:95px">
  711.                                     {% if  client.myFlowEmail is not null %}
  712.                                             {{ client.myFlowEmail }}
  713.                                         {% else %}
  714.                                             {{ client.email }}
  715.                                         {% endif %}
  716.                                     
  717.                                 </div></td>
  718.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;">
  719.                                     {% if  client.roles %}
  720.                                         {% if "ROLE_CLIENT_ADMIN" in client.roles %}
  721.                                              Client administrateur
  722.                                         {% elseif "ROLE_CLIENT" in client.roles  %}
  723.                                             Client
  724.                                         {% elseif "ROLE_AUTHOR" in client.roles  %}
  725.                                             Auteur
  726.                                         {% elseif "ROLE_EDITOR" in client.roles  %}
  727.                                             Editeur
  728.                                         {% elseif "ROLE_MANAGER" in client.roles  %}
  729.                                             Gestionnaire
  730.                                         {% elseif "ROLE_ADMIN_AGENCY" in client.roles  %}
  731.                                             Administrateur de l'agence
  732.                                         {% elseif "ROLE_PROJECT_MANAGER" in client.roles  %}
  733.                                             Chef de projet
  734.                                         {% elseif "ROLE_ADMIN_AGENCY" in client.roles  %}
  735.                                             Administrateur de l'agence
  736.                                         {% else %}
  737.                                             {# Pas de rôle definie #}
  738.                                             Client administrateur
  739.                                         {% endif %}
  740.                                     {% else %}
  741.                                         -
  742.                                     {% endif %}
  743.                                 </td>
  744.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;"><div style="max-width:95px">{{ client.cellphone }}</div></td>
  745.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;" class="font-weight-bold">
  746.                                     {% if  client.company %}
  747.                                         {{ client.company.name }}
  748.                                     {% else %}
  749.                                         -
  750.                                     {% endif %}
  751.                                 </td>
  752.                                 <td style="cursor: pointer;vertical-align: middle;">
  753.                                     <a href="{{ path('client_toggle_availabilty', {'availabilty': client.enabled ? 'disable' : 'enable', 'id': client.id}) }}">
  754.                                         {% if client.enabled == true %}
  755.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-check2" viewbox="0 0 16 16">
  756.                                                 <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"/>
  757.                                             </svg>
  758.                                             <span style="visibility: hidden;">1</span>
  759.                                         {% else %}
  760.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-x" viewbox="0 0 16 16">
  761.                                                 <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"/>
  762.                                             </svg>
  763.                                             <span style="visibility: hidden;">0</span>
  764.                                         {% endif %}
  765.                                     </a>
  766.                                 </td>
  767.                                 {# APP mobile #}
  768.                                 <td style="cursor: pointer;vertical-align: middle;">
  769.                                     <a>
  770.                                         {% if client|user_have_app %}
  771.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-check2" viewbox="0 0 16 16">
  772.                                                 <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"/>
  773.                                             </svg>
  774.                                             <span style="visibility: hidden;">1</span>
  775.                                         {% else %}
  776.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-x" viewbox="0 0 16 16">
  777.                                                 <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"/>
  778.                                             </svg>
  779.                                             <span style="visibility: hidden;">0</span>
  780.                                         {% endif %}
  781.                                         
  782.                                       
  783.                                     </a>
  784.                                 </td>
  785.                                 {# fin APP mobile #}
  786.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;">{{ client.createdAt|date("Y-m-d H:i:s") }}</td>
  787.                                 <td onclick="goTo('{{ path('client_edit', {'id':client.id}) }}')" style="cursor: pointer;vertical-align: middle;">{{ client.lastConnectionAt ? client.lastConnectionAt|date("Y-m-d H:i:s") : '' }}</td>
  788.                                 <td class="text-end" style="vertical-align: middle;">
  789.                                     <div class="dropdown">
  790.                                         <button data-bs-toggle="dropdown" aria-expanded="false" class="btn btn-transparant" id="buttonactionclient{{client.id}}">
  791.                                             <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-three-dots" viewbox="0 0 16 16">
  792.                                                 <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"/>
  793.                                             </svg>
  794.                                         </button>
  795.                                         <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" data-kt-menu="true" aria-labelledby="buttonactionclient{{client.id}}">
  796.                                             <div class="menu-item px-3">
  797.                                                 {% if client.enabled == 0%}
  798.                                                     <a href="{{ path('client_resend_registration_email', {'id':client.id}) }}" class="menu-link px-3">
  799.                                                         Renvoyer l'email d'inscription
  800.                                                     </a>
  801.                                                 {% endif %}
  802.                                                 {% if client.enabled == 1%}
  803.                                                 {# link_to_order_for_user is in App/twig/CompanyTwig.php #}
  804.                                                     <a href="{{ client|link_to_order_for_user }}" class="menu-link px-3">
  805.                                                         Commander
  806.                                                     </a>
  807.                                                 {% endif %}
  808.                                                 {% if app.request.get('_route') == 'client_gestionnaire_index' %}
  809.                                                     <a href="{{ path('client_gestionaires_edit', {'id':client.id}) }}" class="menu-link px-3">
  810.                                                         Modifier
  811.                                                     </a>
  812.                                                     <a href="{{ path('client_gestionnaire_remove', {'id':client.id}) }}" class="menu-link px-3">
  813.                                                         Supprimer
  814.                                                     </a>
  815.                                                 {% else %}
  816.                                                     <a href="{{ path('client_edit', {'id':client.id}) }}" class="menu-link px-3">
  817.                                                         Modifier
  818.                                                     </a>
  819.                                                     <a href="{{ path('client_remove', {'id':client.id}) }}" class="menu-link px-3">
  820.                                                         Supprimer
  821.                                                     </a>
  822.                                                 {% endif %}
  823.                                                     
  824.                                             </div>
  825.                                         </div>
  826.                                     </div>
  827.                                 </td>
  828.                             </tr>
  829.                         {% endfor %}
  830.                     </tbody>
  831.                 </table>
  832.             </div>
  833.         </div>
  834.     </div>
  835. {% endblock %}