var/cache/dev/twig/04/04789ef54811cc1eea53e884053b4cb8.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* company/index.html.twig */
  15. class __TwigTemplate_028150da0400ef3ce05766184dcbbdfb extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'styles' => [$this'block_styles'],
  26.             'body' => [$this'block_body'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""company/index.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""company/index.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""company/index.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         yield "Liste des entreprises";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         return; yield '';
  62.     }
  63.     // line 5
  64.     public function block_styles($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  71.         // line 6
  72.         yield "    ";
  73.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("plugins/custom/datatables/datatables.bundle");
  74.         yield "
  75. ";
  76.         
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  78.         
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  80.         return; yield '';
  81.     }
  82.     // line 9
  83.     public function block_body($context, array $blocks = [])
  84.     {
  85.         $macros $this->macros;
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  87.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  88.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  89.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  90.         // line 10
  91.         yield "    <div id=\"kt_content_container\" class=\"container-fluid\" ";
  92.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env"company--index");
  93.         yield ">
  94.         <div class=\"mobile-menu\" ";
  95.         // line 11
  96.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env"mission--scroll");
  97.         yield ">
  98.             ";
  99.         // line 12
  100.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", ["_route"], "method"falsefalsefalse12) == "company_index")) {
  101.             // line 13
  102.             yield "                <div class=\"mobile-head mb-4\">
  103.                     <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\">
  104.                         <rect width=\"48\" height=\"40\" rx=\"6\" fill=\"#F1F0F4\"/>
  105.                         <path d=\"M15.75 20L32.25 20\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  106.                         <path d=\"M15.75 14L32.25 14\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  107.                         <path d=\"M15.75 26L32.25 26\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  108.                     </svg>
  109.                     
  110.                     <h1 class=\"text-uppercase\">LISTE DES ENTREPRISES</h1>
  111.                     <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\">
  112.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"#F9FAFB\"/>
  113.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#EAECF0\"/>
  114.                         <g clip-path=\"url(#clip0_1161_6063)\">
  115.                         <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\"/>
  116.                         <path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  117.                         </g>
  118.                         <defs>
  119.                         <clipPath id=\"clip0_1161_6063\">
  120.                         <rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"/>
  121.                         </clipPath>
  122.                         </defs>
  123.                     </svg>
  124.                     <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\">
  125.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"var(--my-flow-pink)\"></rect>
  126.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#fff\"></rect>
  127.                         <g clip-path=\"url(#clip0_1161_6063)\">
  128.                         <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>
  129.                         <path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#fff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  130.                         </g>
  131.                         <defs>
  132.                         <clipPath id=\"clip0_1161_6063\">
  133.                         <rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"></rect>
  134.                         </clipPath>
  135.                         </defs>
  136.                     </svg>
  137.                 </div>
  138.                 <div class=\"collapse align-items-center position-relative my-1\" id=\"search_container_mobile\" style=\"flex-direction: column;\">
  139.                     <div class=\"d-flex align-items-center position-relative my-1\" style=\"width: 100%;\">
  140.                     <span class=\"svg-icon svg-icon-1 position-absolute ms-6\">
  141.                         <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\">
  142.                             <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  143.                                 <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />
  144.                                 <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\" />
  145.                                 <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\" />
  146.                             </g>
  147.                         </svg>
  148.                     </span>
  149.                      <input type=\"text\"
  150.                            class=\"form-control form-control w-600px ps-15 input-search-2\"
  151.                            placeholder=\"Rechercher ...\"
  152.                             ";
  153.             // line 63
  154.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""searchTable""keyup");
  155.             yield "
  156.                     />
  157.                     </div>
  158.                 </div>
  159.             ";
  160.         }
  161.         // line 68
  162.         yield "        </div>
  163.         <div class=\"titre-header\">
  164.             ";
  165.         // line 70
  166.         if ((CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "request", [], "any"falsefalsefalse70), "get", ["_route"], "method"falsefalsefalse70) == "company_index")) {
  167.             // line 71
  168.             yield "                <h1 class=\"text-uppercase mobile-none\">LISTE DES ENTREPRISES</h1>
  169.                         ";
  170.             // line 88
  171.             yield "                        ";
  172.             if ((($this->extensions['App\Twig\UserTwig']->onlyAdmin(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "user", [], "any"falsefalsefalse88)) || $this->extensions['App\Twig\UserTwig']->onlyAdminAgency(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "user", [], "any"falsefalsefalse88))) || $this->extensions['App\Twig\UserTwig']->onlyManager(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'88$this->source); })()), "user", [], "any"falsefalsefalse88)))) {
  173.                 // line 89
  174.                 yield "                            <a href=\"";
  175.                 yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_new");
  176.                 yield "\" class=\"btn btn-primary-custom font-weight-bold btn-add-company\">Ajouter une entreprise</a>
  177.                         ";
  178.             }
  179.             // line 91
  180.             yield "                    ";
  181.         }
  182.         // line 92
  183.         yield "                </div>
  184.         <div class=\"card shadow-sm mt-5\">
  185.             <div class=\"card-body\" style=\"padding-top:0;\">
  186.                 <div class=\"ctn-filter ctn-filter mt-8 my-4\" style=\"align-items:baseline\">
  187.                     <div>
  188.                         <button id=\"show-filter\" class=\"btn btn-filter collapsed \" data-toggle=\"collapse\" data-target=\"#refontefilterfile\" aria-expanded=\"false\" aria-controls=\"collapsefilter\">Filtrer
  189.                             <svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  190.                                 <g clip-path=\"url(#clip0_2053_1644)\">
  191.                                     <path d=\"M6 13.25H18\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  192.                                     <path d=\"M2.25 8.75H21.75\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  193.                                     <path d=\"M9.75 17.75H14.25\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  194.                                 </g>
  195.                                 <defs>
  196.                                     <clipPath id=\"clip0_2053_1644\">
  197.                                         <rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  198.                                     </clipPath>
  199.                                 </defs>
  200.                             </svg>
  201.                         </button>
  202.                     </div>
  203.                     <div class=\"ml-4 w-96\" style=\"width: 96%;overflow-x: auto;\">
  204.                         <div class=\"container-filter collapse \" id=\"refontefilterfile\" style=\"\">
  205.                             <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;  \">
  206.                                 <div class=\"div-relative\">
  207.                                     <input  type=\"text\"
  208.                                         style=\"margin-right: 10px;\"
  209.                                         class=\"form-control input-search input-search-2 mb-0\"
  210.                                         placeholder=\"Recherchez par société\"
  211.                                         ";
  212.         // line 120
  213.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""searchTableSociete""keyup");
  214.         yield "
  215.                                     />
  216.                                     <button class=\"icon-search \">
  217.                                         <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  218.                                             <g clip-path=\"url(#clip0_2027_2078)\">
  219.                                                 <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>
  220.                                                 <path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  221.                                             </g>
  222.                                             <defs>
  223.                                                 <clipPath id=\"clip0_2027_2078\">
  224.                                                     <rect width=\"24\" height=\"24\" fill=\"white\"></rect>
  225.                                                 </clipPath>
  226.                                             </defs>
  227.                                         </svg>
  228.                                     </button>
  229.                                 </div>
  230.                                 <div class=\"div-relative\">
  231.                                     <input  type=\"text\"
  232.                                         style=\"margin-right: 10px;\"
  233.                                         class=\"form-control input-search input-search-2 mb-0\"
  234.                                         placeholder=\"Recherchez par réduction\"
  235.                                         ";
  236.         // line 141
  237.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""searchTableReduction""keyup");
  238.         yield "
  239.                                     />
  240.                                     <button class=\"icon-search \">
  241.                                         <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  242.                                             <g clip-path=\"url(#clip0_2027_2078)\">
  243.                                                 <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>
  244.                                                 <path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  245.                                             </g>
  246.                                             <defs>
  247.                                                 <clipPath id=\"clip0_2027_2078\">
  248.                                                     <rect width=\"24\" height=\"24\" fill=\"white\"></rect>
  249.                                                 </clipPath>
  250.                                             </defs>
  251.                                         </svg>
  252.                                     </button>
  253.                                 </div>
  254.                                  <div class=\"div-relative\">
  255.                                     <input  type=\"text\"
  256.                                         style=\"margin-right: 10px;\"
  257.                                         class=\"form-control input-search input-search-2 mb-0\"
  258.                                         placeholder=\"Recherchez par crédit  \"
  259.                                         ";
  260.         // line 162
  261.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""searchTableCredit""keyup");
  262.         yield "
  263.                                     />
  264.                                     <button class=\"icon-search \">
  265.                                         <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  266.                                             <g clip-path=\"url(#clip0_2027_2078)\">
  267.                                                 <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>
  268.                                                 <path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  269.                                             </g>
  270.                                             <defs>
  271.                                                 <clipPath id=\"clip0_2027_2078\">
  272.                                                     <rect width=\"24\" height=\"24\" fill=\"white\"></rect>
  273.                                                 </clipPath>
  274.                                             </defs>
  275.                                         </svg>
  276.                                     </button>
  277.                                 </div>
  278.                                 <div class=\"div-relative\">
  279.                                     <input  type=\"date\"
  280.                                         style=\"margin-right: 10px;\"
  281.                                         class=\"form-control input-search input-search-2 mb-0\"
  282.                                         placeholder=\"Recherchez par réduction\"
  283.                                         ";
  284.         // line 183
  285.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""searchTableDate""change");
  286.         yield "
  287.                                     />
  288.                                     
  289.                                 </div>
  290.                                 <div class=\"filter-btn \">
  291.                                     <div class=\"btn-wordpress-and-commande\">
  292.                                         <a title=\"Réinitialiser\" href=\"/admin/entreprises\" class=\"btn btn-custom bg-custom-pink\">
  293.                                             <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\">
  294.                                                 <g>
  295.                                                     <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
  296.                                                                                         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
  297.                                                                                         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
  298.                                                                                         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
  299.                                                                                         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
  300.                                                                                         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
  301.                                                                                         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
  302.                                                                                         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
  303.                                                                                         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
  304.                                                                                         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
  305.                                                                                         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
  306.                                                                                         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
  307.                                                                                         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
  308.                                                                                         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
  309.                                                                                         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
  310.                                                                                         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
  311.                                                                                         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
  312.                                                                                         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
  313.                                                                                         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>
  314.                                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#FFFFFF\" d=\"M19.501,0c0.348,0.164,0.483,0.436,0.494,0.82
  315.                                                                                         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
  316.                                                                                         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
  317.                                                                                         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
  318.                                                                                         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
  319.                                                                                         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
  320.                                                                                         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
  321.                                                                                         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
  322.                                                                                         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>
  323.                                                     <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
  324.                                                                                         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
  325.                                                                                         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
  326.                                                                                         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
  327.                                                                                         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
  328.                                                                                         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
  329.                                                                                         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
  330.                                                                                         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
  331.                                                                                         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
  332.                                                                                         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>
  333.                                                 </g>
  334.                                             </svg>
  335.                                         </a>
  336.                                     </div>
  337.                                 </div>
  338.                                 <div class=\"btn-wordpress-and-commande hidden\">
  339.                                     <div class=\"filter-btn\">
  340.                                         <button data-bs-toggle=\"modal\" data-bs-target=\"#addRessourceModal\" class=\"btn btn-custom bg-custom-pink btn-addressource\">
  341.                                             <svg width=\"20\" height=\"12\" viewBox=\"0 0 13 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  342.                                                 <path d=\"M0.92 6.778V4.432H5.313V0.0389988H7.659V4.432H12.052V6.778H7.659V11.171H5.313V6.778H0.92Z\" fill=\"white\"/>
  343.                                             </svg>
  344.                                         </button>
  345.                                     </div>
  346.                                 </div>
  347.                             </div>
  348.                         </div>
  349.                     </div>
  350.                 </div>
  351.                 <table id=\"kt_datatable_example_1\" class=\"table table-row-bordered gy-5\" ";
  352.         // line 248
  353.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusTarget($this->env"company--index""datatable");
  354.         yield ">
  355.                     <thead>
  356.                     <tr class=\"fw-bold fs-6 text-muted\" >
  357.                         <th>
  358.                             <span class=\"flitre-icon\">
  359.                                 Logo
  360.                                 <div class=\"container-icon\" style=\"opacity:0\">
  361.                                     <a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
  362.         // line 255
  363.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  364.         yield ">
  365.                                         <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\">
  366.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  367.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  368.                                             </g>
  369.                                             <defs>
  370.                                                 <clipPath id=\"clip0_2060_1657\">
  371.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  372.                                                 </clipPath>
  373.                                             </defs>
  374.                                         </svg>
  375.                                     </a>
  376.                                     <a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
  377.         // line 267
  378.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  379.         yield ">
  380.                                         <svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  381.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  382.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  383.                                             </g>
  384.                                             <defs>
  385.                                                 <clipPath id=\"clip0_2060_1657\">
  386.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  387.                                                 </clipPath>
  388.                                             </defs>
  389.                                         </svg>
  390.                                     </a>
  391.                                 </div>
  392.                             </span>
  393.                         </th>
  394.                         <th>
  395.                             <span class=\"flitre-icon\">
  396.                                 Société
  397.                                 <div class=\"container-icon\">
  398.                                     <a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
  399.         // line 286
  400.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  401.         yield ">
  402.                                         <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\">
  403.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  404.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  405.                                             </g>
  406.                                             <defs>
  407.                                                 <clipPath id=\"clip0_2060_1657\">
  408.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  409.                                                 </clipPath>
  410.                                             </defs>
  411.                                         </svg>
  412.                                     </a>
  413.                                     <a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
  414.         // line 298
  415.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  416.         yield ">
  417.                                         <svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  418.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  419.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  420.                                             </g>
  421.                                             <defs>
  422.                                                 <clipPath id=\"clip0_2060_1657\">
  423.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  424.                                                 </clipPath>
  425.                                             </defs>
  426.                                         </svg>
  427.                                     </a>
  428.                                 </div>
  429.                             </span>
  430.                         </th>
  431.                         ";
  432.         // line 313
  433.         if (($this->extensions['App\Twig\UserTwig']->isAgency() == false)) {
  434.             // line 314
  435.             yield "                            <th>
  436.                                 <span class=\"flitre-icon\">
  437.                                         Réduction
  438. \t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
  439. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
  440.             // line 318
  441.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  442.             yield ">
  443. \t\t\t\t\t\t\t\t\t\t\t<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\">
  444. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  445. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  446. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  447. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  448. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  449. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  450. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  451. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  452. \t\t\t\t\t\t\t\t\t\t\t</svg>
  453. \t\t\t\t\t\t\t\t\t\t</a>
  454. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
  455.             // line 330
  456.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  457.             yield ">
  458. \t\t\t\t\t\t\t\t\t\t\t<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  459. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  460. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  461. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  462. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  463. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  464. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  465. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  466. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  467. \t\t\t\t\t\t\t\t\t\t\t</svg>
  468. \t\t\t\t\t\t\t\t\t\t</a>
  469. \t\t\t\t\t\t\t\t\t</div>
  470. \t\t\t\t\t\t\t\t</span>
  471.                             </th>
  472.                             <th>
  473.                                 <span class=\"flitre-icon\">
  474.                                         Crédit
  475. \t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
  476. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
  477.             // line 349
  478.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  479.             yield ">
  480. \t\t\t\t\t\t\t\t\t\t\t<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\">
  481. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  482. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  483. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  484. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  485. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  486. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  487. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  488. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  489. \t\t\t\t\t\t\t\t\t\t\t</svg>
  490. \t\t\t\t\t\t\t\t\t\t</a>
  491. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
  492.             // line 361
  493.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  494.             yield ">
  495. \t\t\t\t\t\t\t\t\t\t\t<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  496. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  497. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  498. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  499. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  500. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  501. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  502. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  503. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  504. \t\t\t\t\t\t\t\t\t\t\t</svg>
  505. \t\t\t\t\t\t\t\t\t\t</a>
  506. \t\t\t\t\t\t\t\t\t</div>
  507. \t\t\t\t\t\t\t\t</span>
  508.                             </th>
  509.                         ";
  510.         }
  511.         // line 377
  512.         yield "                        ";
  513.         // line 379
  514.         yield "                        <th >Activé</th>
  515.                         <th>
  516.                             <span class=\"flitre-icon\">
  517.                                 Date de création
  518.                                 <div class=\"container-icon\">
  519.                                     <a href=\"?name-short=ASC\" class=\"icon-linkd\"  ";
  520.         // line 384
  521.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  522.         yield ">
  523.                                         <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\">
  524.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  525.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  526.                                             </g>
  527.                                             <defs>
  528.                                                 <clipPath id=\"clip0_2060_1657\">
  529.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  530.                                                 </clipPath>
  531.                                             </defs>
  532.                                         </svg>
  533.                                     </a>
  534.                                     <a href=\"?name-short=DESC\" class=\"icon-link2s\"  ";
  535.         // line 396
  536.         yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""sortTable""click");
  537.         yield ">
  538.                                         <svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  539.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  540.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  541.                                             </g>
  542.                                             <defs>
  543.                                                 <clipPath id=\"clip0_2060_1657\">
  544.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  545.                                                 </clipPath>
  546.                                             </defs>
  547.                                         </svg>
  548.                                     </a>
  549.                                 </div>
  550.                             </span>
  551.                         </th>
  552.                         <th></th>
  553.                     </tr>
  554.                     </thead>
  555.                     <tbody>
  556.                     ";
  557.         // line 415
  558.         $context['_parent'] = $context;
  559.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["companys"]) || array_key_exists("companys"$context) ? $context["companys"] : (function () { throw new RuntimeError('Variable "companys" does not exist.'415$this->source); })()));
  560.         foreach ($context['_seq'] as $context["_key"] => $context["company"]) {
  561.             // line 416
  562.             yield "                        <tr >
  563.                             <td onclick=\"goTo('";
  564.             // line 417
  565.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_edit", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse417)]), "html"nulltrue);
  566.             yield "')\" style=\"cursor: pointer; vertical-align:middle;\">
  567.                                 ";
  568.             // line 418
  569.             if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env$this->source$context["company"], "logoName", [], "any"falsefalsefalse418))) {
  570.                 // line 419
  571.                 yield "                                    <img src=\"";
  572.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["company"], "logoFile"), "html"nulltrue);
  573.                 yield "\" class=\"_profil-image-user \">
  574.                                 ";
  575.             } else {
  576.                 // line 421
  577.                 yield "                                    <div class=\"symbol symbol-35px\">
  578.                                         <div class=\"_profil-image-user \">
  579.                                             ";
  580.                 // line 423
  581.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::slice($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->source$context["company"], "name", [], "any"falsefalsefalse423), 01), "html"nulltrue);
  582.                 yield "
  583.                                         </div>
  584.                                     </div>
  585.                                 ";
  586.             }
  587.             // line 427
  588.             yield "                            </td>
  589.                           <td onclick=\"goTo('";
  590.             // line 429
  591.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_edit", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse429)]), "html"nulltrue);
  592.             yield "')\" style=\"cursor: pointer; vertical-align:middle;\">";
  593.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["company"], "name", [], "any"falsefalsefalse429), "html"nulltrue);
  594.             yield "</td>
  595.                           
  596.                            ";
  597.             // line 431
  598.             if (($this->extensions['App\Twig\UserTwig']->isAgency() == false)) {
  599.                 // line 432
  600.                 yield "                            <td onclick=\"goTo('";
  601.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_edit", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse432)]), "html"nulltrue);
  602.                 yield "')\" style=\"cursor: pointer; vertical-align:middle;\">";
  603.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["company"], "customerDiscount", [], "any"falsefalsefalse432), "html"nulltrue);
  604.                 yield "%</td>
  605.                             <td onclick=\"goTo('";
  606.                 // line 433
  607.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_edit", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse433)]), "html"nulltrue);
  608.                 yield "')\" style=\"cursor: pointer; vertical-align:middle;\">
  609.                                 ";
  610.                 // line 434
  611.                 $context["creditAvailable"] = 0;
  612.                 // line 435
  613.                 yield "                                ";
  614.                 $context['_parent'] = $context;
  615.                 $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->source$context["company"], "creditHistories", [], "any"falsefalsefalse435));
  616.                 foreach ($context['_seq'] as $context["_key"] => $context["credit"]) {
  617.                     // line 436
  618.                     yield "                                    ";
  619.                     if ((CoreExtension::getAttribute($this->env$this->source$context["credit"], "creditExpiredAt", [], "any"falsefalsefalse436) > $this->extensions['Twig\Extension\CoreExtension']->convertDate())) {
  620.                         // line 437
  621.                         yield "                                        ";
  622.                         $context["creditAvailable"] = ((isset($context["creditAvailable"]) || array_key_exists("creditAvailable"$context) ? $context["creditAvailable"] : (function () { throw new RuntimeError('Variable "creditAvailable" does not exist.'437$this->source); })()) + CoreExtension::getAttribute($this->env$this->source$context["credit"], "credit", [], "any"falsefalsefalse437));
  623.                         // line 438
  624.                         yield "                                    ";
  625.                     }
  626.                     // line 439
  627.                     yield "                                ";
  628.                 }
  629.                 $_parent $context['_parent'];
  630.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['credit'], $context['_parent'], $context['loop']);
  631.                 $context array_intersect_key($context$_parent) + $_parent;
  632.                 // line 440
  633.                 yield "                                ";
  634.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["creditAvailable"]) || array_key_exists("creditAvailable"$context) ? $context["creditAvailable"] : (function () { throw new RuntimeError('Variable "creditAvailable" does not exist.'440$this->source); })()), "html"nulltrue);
  635.                 yield "
  636.                             </td>
  637.                             ";
  638.             }
  639.             // line 443
  640.             yield "                        
  641.                           <td onclick=\"goTo('";
  642.             // line 444
  643.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_edit", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse444)]), "html"nulltrue);
  644.             yield "')\" style=\"cursor: pointer;vertical-align:middle;\">
  645.                               ";
  646.             // line 445
  647.             if ((CoreExtension::getAttribute($this->env$this->source$context["company"], "enabled", [], "any"falsefalsefalse445) == 1)) {
  648.                 // line 446
  649.                 yield "                                  <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-check2\" viewBox=\"0 0 16 16\">
  650.                                       <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\"/>
  651.                                   </svg>
  652.                               ";
  653.             } else {
  654.                 // line 450
  655.                 yield "                                  <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-x\" viewBox=\"0 0 16 16\">
  656.                                       <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\"/>
  657.                                   </svg>
  658.                               ";
  659.             }
  660.             // line 454
  661.             yield "                          </td>
  662.                           <td style=\"vertical-align:middle;\">";
  663.             // line 455
  664.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env$this->source$context["company"], "createdAt", [], "any"falsefalsefalse455), "d-m-Y"), "html"nulltrue);
  665.             yield "</td>
  666.                             <td>
  667.                                 
  668.                                 <div class=\"dropdown\">
  669.                                         <button type=\"button\" 
  670.                                                 class=\"btn btn-transparant\"
  671.                                                 data-bs-toggle=\"dropdown\"
  672.                                                 data-kt-menu-placement=\"bottom-start\"
  673.                                                 id=\"";
  674.             // line 463
  675.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse463), "html"nulltrue);
  676.             yield "\"
  677.                                                 >
  678.                                             <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-three-dots\" viewBox=\"0 0 16 16\">
  679.                                                 <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\"/>
  680.                                             </svg>
  681.                                         </button>
  682.                                         <div class=\" dropdown-menu menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-600 fw-bold fs-7 w-200px py-4\"
  683.                                             data-kt-menu=\"true\"
  684.                                             aria-labelledby=\"";
  685.             // line 471
  686.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse471), "html"nulltrue);
  687.             yield "\"
  688.                                             ";
  689.             // line 472
  690.             yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env"company--command");
  691.             yield "
  692.                                             >
  693.                                             
  694.                                            
  695.                                             <div class=\"menu-item px-3\">
  696.                                                 <a href=\"";
  697.             // line 477
  698.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index_resource", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse477)]), "html"nulltrue);
  699.             yield "\" class=\"menu-link px-3\">
  700.                                                     Ressources
  701.                                                 </a>
  702.                                             </div>
  703.                                             
  704.                                             <div class=\"menu-item px-3\">
  705.                                                 <a href=\"";
  706.             // line 483
  707.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_edit", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse483)]), "html"nulltrue);
  708.             yield "\" class=\"menu-link px-3\">
  709.                                                     Modifier
  710.                                                 </a>
  711.                                             </div>
  712.                                             ";
  713.             // line 488
  714.             if (($this->extensions['App\Twig\UserTwig']->onlyAdmin(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'488$this->source); })()), "user", [], "any"falsefalsefalse488)) || $this->extensions['App\Twig\UserTwig']->onlyAdminAgency(CoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'488$this->source); })()), "user", [], "any"falsefalsefalse488)))) {
  715.                 // line 489
  716.                 yield "                                                <div class=\"menu-item px-3\">
  717.                                                     <a href=\"#\" 
  718.                                                     data-url=\"";
  719.                 // line 491
  720.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_delete", ["id" => CoreExtension::getAttribute($this->env$this->source$context["company"], "id", [], "any"falsefalsefalse491)]), "html"nulltrue);
  721.                 yield "\" class=\"menu-link px-3\" 
  722.                                                     ";
  723.                 // line 492
  724.                 yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env"company--index""deleteCompany""click");
  725.                 yield " class=\"menu-link px-3\">
  726.                                                         Supprimer
  727.                                                     </a>
  728.                                                 </div>
  729.                                             ";
  730.             }
  731.             // line 497
  732.             yield "                                        </div>
  733.                                 </div>
  734.                             </td>
  735.                         </tr>
  736.                     ";
  737.         }
  738.         $_parent $context['_parent'];
  739.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['company'], $context['_parent'], $context['loop']);
  740.         $context array_intersect_key($context$_parent) + $_parent;
  741.         // line 502
  742.         yield "                </table>
  743.             </div>
  744.         </div>
  745.     </div>
  746. ";
  747.         // line 507
  748.         yield from         $this->loadTemplate("company/_modal_delete_company.html.twig""company/index.html.twig"507)->unwrap()->yield($context);
  749.         // line 508
  750.         yield "
  751. ";
  752.         
  753.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  754.         
  755.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  756.         return; yield '';
  757.     }
  758.     /**
  759.      * @codeCoverageIgnore
  760.      */
  761.     public function getTemplateName()
  762.     {
  763.         return "company/index.html.twig";
  764.     }
  765.     /**
  766.      * @codeCoverageIgnore
  767.      */
  768.     public function isTraitable()
  769.     {
  770.         return false;
  771.     }
  772.     /**
  773.      * @codeCoverageIgnore
  774.      */
  775.     public function getDebugInfo()
  776.     {
  777.         return array (  777 => 508,  775 => 507,  768 => 502,  758 => 497,  750 => 492,  746 => 491,  742 => 489,  740 => 488,  732 => 483,  723 => 477,  715 => 472,  711 => 471,  700 => 463,  689 => 455,  686 => 454,  680 => 450,  674 => 446,  672 => 445,  668 => 444,  665 => 443,  658 => 440,  652 => 439,  649 => 438,  646 => 437,  643 => 436,  638 => 435,  636 => 434,  632 => 433,  625 => 432,  623 => 431,  616 => 429,  612 => 427,  605 => 423,  601 => 421,  595 => 419,  593 => 418,  589 => 417,  586 => 416,  582 => 415,  560 => 396,  545 => 384,  538 => 379,  536 => 377,  517 => 361,  502 => 349,  480 => 330,  465 => 318,  459 => 314,  457 => 313,  439 => 298,  424 => 286,  402 => 267,  387 => 255,  377 => 248,  309 => 183,  285 => 162,  261 => 141,  237 => 120,  207 => 92,  204 => 91,  198 => 89,  195 => 88,  192 => 71,  190 => 70,  186 => 68,  178 => 63,  126 => 13,  124 => 12,  120 => 11,  115 => 10,  105 => 9,  91 => 6,  81 => 5,  61 => 3,  38 => 1,);
  778.     }
  779.     public function getSourceContext()
  780.     {
  781.         return new Source("{% extends 'base.html.twig' %}
  782. {% block title %}Liste des entreprises{% endblock %}
  783. {% block styles %}
  784.     {{ encore_entry_link_tags('plugins/custom/datatables/datatables.bundle') }}
  785. {% endblock %}
  786. {% block body %}
  787.     <div id=\"kt_content_container\" class=\"container-fluid\" {{ stimulus_controller('company--index') }}>
  788.         <div class=\"mobile-menu\" {{ stimulus_controller('mission--scroll') }}>
  789.             {% if app.request.get('_route') == 'company_index' %}
  790.                 <div class=\"mobile-head mb-4\">
  791.                     <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\">
  792.                         <rect width=\"48\" height=\"40\" rx=\"6\" fill=\"#F1F0F4\"/>
  793.                         <path d=\"M15.75 20L32.25 20\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  794.                         <path d=\"M15.75 14L32.25 14\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  795.                         <path d=\"M15.75 26L32.25 26\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  796.                     </svg>
  797.                     
  798.                     <h1 class=\"text-uppercase\">LISTE DES ENTREPRISES</h1>
  799.                     <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\">
  800.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"#F9FAFB\"/>
  801.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#EAECF0\"/>
  802.                         <g clip-path=\"url(#clip0_1161_6063)\">
  803.                         <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\"/>
  804.                         <path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
  805.                         </g>
  806.                         <defs>
  807.                         <clipPath id=\"clip0_1161_6063\">
  808.                         <rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"/>
  809.                         </clipPath>
  810.                         </defs>
  811.                     </svg>
  812.                     <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\">
  813.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"var(--my-flow-pink)\"></rect>
  814.                         <rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#fff\"></rect>
  815.                         <g clip-path=\"url(#clip0_1161_6063)\">
  816.                         <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>
  817.                         <path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#fff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  818.                         </g>
  819.                         <defs>
  820.                         <clipPath id=\"clip0_1161_6063\">
  821.                         <rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"></rect>
  822.                         </clipPath>
  823.                         </defs>
  824.                     </svg>
  825.                 </div>
  826.                 <div class=\"collapse align-items-center position-relative my-1\" id=\"search_container_mobile\" style=\"flex-direction: column;\">
  827.                     <div class=\"d-flex align-items-center position-relative my-1\" style=\"width: 100%;\">
  828.                     <span class=\"svg-icon svg-icon-1 position-absolute ms-6\">
  829.                         <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\">
  830.                             <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  831.                                 <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />
  832.                                 <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\" />
  833.                                 <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\" />
  834.                             </g>
  835.                         </svg>
  836.                     </span>
  837.                      <input type=\"text\"
  838.                            class=\"form-control form-control w-600px ps-15 input-search-2\"
  839.                            placeholder=\"Rechercher ...\"
  840.                             {{ stimulus_action('company--index', 'searchTable', 'keyup') }}
  841.                     />
  842.                     </div>
  843.                 </div>
  844.             {% endif %}
  845.         </div>
  846.         <div class=\"titre-header\">
  847.             {% if app.request.get('_route') == 'company_index' %}
  848.                 <h1 class=\"text-uppercase mobile-none\">LISTE DES ENTREPRISES</h1>
  849.                         {# <div class=\"d-flex align-items-center position-relative my-1 mobile-none\">
  850.                         <span class=\"svg-icon svg-icon-1 position-absolute ms-6\">
  851.                             <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\">
  852.                                 <g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
  853.                                     <rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />
  854.                                     <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\" />
  855.                                     <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\" />
  856.                                 </g>
  857.                             </svg>
  858.                         </span>
  859.                             <input type=\"text\"
  860.                                 class=\"mobile-none form-control form-control w-600px ps-15 input-search-2\"
  861.                                 placeholder=\"Rechercher ...\"
  862.                                     {{ stimulus_action('company--index', 'searchTable', 'keyup') }}
  863.                             />
  864.                         </div> #}
  865.                         {% if only_admin(app.user) or only_admin_agency(app.user) or only_manager(app.user) %}
  866.                             <a href=\"{{ path('company_new') }}\" class=\"btn btn-primary-custom font-weight-bold btn-add-company\">Ajouter une entreprise</a>
  867.                         {% endif %}
  868.                     {% endif %}
  869.                 </div>
  870.         <div class=\"card shadow-sm mt-5\">
  871.             <div class=\"card-body\" style=\"padding-top:0;\">
  872.                 <div class=\"ctn-filter ctn-filter mt-8 my-4\" style=\"align-items:baseline\">
  873.                     <div>
  874.                         <button id=\"show-filter\" class=\"btn btn-filter collapsed \" data-toggle=\"collapse\" data-target=\"#refontefilterfile\" aria-expanded=\"false\" aria-controls=\"collapsefilter\">Filtrer
  875.                             <svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  876.                                 <g clip-path=\"url(#clip0_2053_1644)\">
  877.                                     <path d=\"M6 13.25H18\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  878.                                     <path d=\"M2.25 8.75H21.75\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  879.                                     <path d=\"M9.75 17.75H14.25\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  880.                                 </g>
  881.                                 <defs>
  882.                                     <clipPath id=\"clip0_2053_1644\">
  883.                                         <rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  884.                                     </clipPath>
  885.                                 </defs>
  886.                             </svg>
  887.                         </button>
  888.                     </div>
  889.                     <div class=\"ml-4 w-96\" style=\"width: 96%;overflow-x: auto;\">
  890.                         <div class=\"container-filter collapse \" id=\"refontefilterfile\" style=\"\">
  891.                             <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;  \">
  892.                                 <div class=\"div-relative\">
  893.                                     <input  type=\"text\"
  894.                                         style=\"margin-right: 10px;\"
  895.                                         class=\"form-control input-search input-search-2 mb-0\"
  896.                                         placeholder=\"Recherchez par société\"
  897.                                         {{ stimulus_action('company--index', 'searchTableSociete', 'keyup') }}
  898.                                     />
  899.                                     <button class=\"icon-search \">
  900.                                         <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  901.                                             <g clip-path=\"url(#clip0_2027_2078)\">
  902.                                                 <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>
  903.                                                 <path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  904.                                             </g>
  905.                                             <defs>
  906.                                                 <clipPath id=\"clip0_2027_2078\">
  907.                                                     <rect width=\"24\" height=\"24\" fill=\"white\"></rect>
  908.                                                 </clipPath>
  909.                                             </defs>
  910.                                         </svg>
  911.                                     </button>
  912.                                 </div>
  913.                                 <div class=\"div-relative\">
  914.                                     <input  type=\"text\"
  915.                                         style=\"margin-right: 10px;\"
  916.                                         class=\"form-control input-search input-search-2 mb-0\"
  917.                                         placeholder=\"Recherchez par réduction\"
  918.                                         {{ stimulus_action('company--index', 'searchTableReduction', 'keyup') }}
  919.                                     />
  920.                                     <button class=\"icon-search \">
  921.                                         <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  922.                                             <g clip-path=\"url(#clip0_2027_2078)\">
  923.                                                 <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>
  924.                                                 <path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  925.                                             </g>
  926.                                             <defs>
  927.                                                 <clipPath id=\"clip0_2027_2078\">
  928.                                                     <rect width=\"24\" height=\"24\" fill=\"white\"></rect>
  929.                                                 </clipPath>
  930.                                             </defs>
  931.                                         </svg>
  932.                                     </button>
  933.                                 </div>
  934.                                  <div class=\"div-relative\">
  935.                                     <input  type=\"text\"
  936.                                         style=\"margin-right: 10px;\"
  937.                                         class=\"form-control input-search input-search-2 mb-0\"
  938.                                         placeholder=\"Recherchez par crédit  \"
  939.                                         {{ stimulus_action('company--index', 'searchTableCredit', 'keyup') }}
  940.                                     />
  941.                                     <button class=\"icon-search \">
  942.                                         <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  943.                                             <g clip-path=\"url(#clip0_2027_2078)\">
  944.                                                 <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>
  945.                                                 <path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  946.                                             </g>
  947.                                             <defs>
  948.                                                 <clipPath id=\"clip0_2027_2078\">
  949.                                                     <rect width=\"24\" height=\"24\" fill=\"white\"></rect>
  950.                                                 </clipPath>
  951.                                             </defs>
  952.                                         </svg>
  953.                                     </button>
  954.                                 </div>
  955.                                 <div class=\"div-relative\">
  956.                                     <input  type=\"date\"
  957.                                         style=\"margin-right: 10px;\"
  958.                                         class=\"form-control input-search input-search-2 mb-0\"
  959.                                         placeholder=\"Recherchez par réduction\"
  960.                                         {{ stimulus_action('company--index', 'searchTableDate', 'change') }}
  961.                                     />
  962.                                     
  963.                                 </div>
  964.                                 <div class=\"filter-btn \">
  965.                                     <div class=\"btn-wordpress-and-commande\">
  966.                                         <a title=\"Réinitialiser\" href=\"/admin/entreprises\" class=\"btn btn-custom bg-custom-pink\">
  967.                                             <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\">
  968.                                                 <g>
  969.                                                     <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
  970.                                                                                         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
  971.                                                                                         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
  972.                                                                                         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
  973.                                                                                         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
  974.                                                                                         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
  975.                                                                                         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
  976.                                                                                         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
  977.                                                                                         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
  978.                                                                                         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
  979.                                                                                         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
  980.                                                                                         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
  981.                                                                                         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
  982.                                                                                         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
  983.                                                                                         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
  984.                                                                                         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
  985.                                                                                         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
  986.                                                                                         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
  987.                                                                                         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>
  988.                                                     <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#FFFFFF\" d=\"M19.501,0c0.348,0.164,0.483,0.436,0.494,0.82
  989.                                                                                         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
  990.                                                                                         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
  991.                                                                                         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
  992.                                                                                         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
  993.                                                                                         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
  994.                                                                                         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
  995.                                                                                         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
  996.                                                                                         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>
  997.                                                     <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
  998.                                                                                         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
  999.                                                                                         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
  1000.                                                                                         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
  1001.                                                                                         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
  1002.                                                                                         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
  1003.                                                                                         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
  1004.                                                                                         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
  1005.                                                                                         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
  1006.                                                                                         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>
  1007.                                                 </g>
  1008.                                             </svg>
  1009.                                         </a>
  1010.                                     </div>
  1011.                                 </div>
  1012.                                 <div class=\"btn-wordpress-and-commande hidden\">
  1013.                                     <div class=\"filter-btn\">
  1014.                                         <button data-bs-toggle=\"modal\" data-bs-target=\"#addRessourceModal\" class=\"btn btn-custom bg-custom-pink btn-addressource\">
  1015.                                             <svg width=\"20\" height=\"12\" viewBox=\"0 0 13 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1016.                                                 <path d=\"M0.92 6.778V4.432H5.313V0.0389988H7.659V4.432H12.052V6.778H7.659V11.171H5.313V6.778H0.92Z\" fill=\"white\"/>
  1017.                                             </svg>
  1018.                                         </button>
  1019.                                     </div>
  1020.                                 </div>
  1021.                             </div>
  1022.                         </div>
  1023.                     </div>
  1024.                 </div>
  1025.                 <table id=\"kt_datatable_example_1\" class=\"table table-row-bordered gy-5\" {{ stimulus_target('company--index','datatable') }}>
  1026.                     <thead>
  1027.                     <tr class=\"fw-bold fs-6 text-muted\" >
  1028.                         <th>
  1029.                             <span class=\"flitre-icon\">
  1030.                                 Logo
  1031.                                 <div class=\"container-icon\" style=\"opacity:0\">
  1032.                                     <a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1033.                                         <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\">
  1034.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  1035.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1036.                                             </g>
  1037.                                             <defs>
  1038.                                                 <clipPath id=\"clip0_2060_1657\">
  1039.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1040.                                                 </clipPath>
  1041.                                             </defs>
  1042.                                         </svg>
  1043.                                     </a>
  1044.                                     <a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1045.                                         <svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1046.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  1047.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1048.                                             </g>
  1049.                                             <defs>
  1050.                                                 <clipPath id=\"clip0_2060_1657\">
  1051.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1052.                                                 </clipPath>
  1053.                                             </defs>
  1054.                                         </svg>
  1055.                                     </a>
  1056.                                 </div>
  1057.                             </span>
  1058.                         </th>
  1059.                         <th>
  1060.                             <span class=\"flitre-icon\">
  1061.                                 Société
  1062.                                 <div class=\"container-icon\">
  1063.                                     <a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1064.                                         <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\">
  1065.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  1066.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1067.                                             </g>
  1068.                                             <defs>
  1069.                                                 <clipPath id=\"clip0_2060_1657\">
  1070.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1071.                                                 </clipPath>
  1072.                                             </defs>
  1073.                                         </svg>
  1074.                                     </a>
  1075.                                     <a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1076.                                         <svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1077.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  1078.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1079.                                             </g>
  1080.                                             <defs>
  1081.                                                 <clipPath id=\"clip0_2060_1657\">
  1082.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1083.                                                 </clipPath>
  1084.                                             </defs>
  1085.                                         </svg>
  1086.                                     </a>
  1087.                                 </div>
  1088.                             </span>
  1089.                         </th>
  1090.                         {% if is_agency() == false %}
  1091.                             <th>
  1092.                                 <span class=\"flitre-icon\">
  1093.                                         Réduction
  1094. \t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
  1095. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1096. \t\t\t\t\t\t\t\t\t\t\t<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\">
  1097. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  1098. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1099. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  1100. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  1101. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  1102. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1103. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  1104. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  1105. \t\t\t\t\t\t\t\t\t\t\t</svg>
  1106. \t\t\t\t\t\t\t\t\t\t</a>
  1107. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1108. \t\t\t\t\t\t\t\t\t\t\t<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1109. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  1110. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1111. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  1112. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  1113. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  1114. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1115. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  1116. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  1117. \t\t\t\t\t\t\t\t\t\t\t</svg>
  1118. \t\t\t\t\t\t\t\t\t\t</a>
  1119. \t\t\t\t\t\t\t\t\t</div>
  1120. \t\t\t\t\t\t\t\t</span>
  1121.                             </th>
  1122.                             <th>
  1123.                                 <span class=\"flitre-icon\">
  1124.                                         Crédit
  1125. \t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
  1126. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1127. \t\t\t\t\t\t\t\t\t\t\t<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\">
  1128. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  1129. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1130. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  1131. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  1132. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  1133. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1134. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  1135. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  1136. \t\t\t\t\t\t\t\t\t\t\t</svg>
  1137. \t\t\t\t\t\t\t\t\t\t</a>
  1138. \t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1139. \t\t\t\t\t\t\t\t\t\t\t<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1140. \t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
  1141. \t\t\t\t\t\t\t\t\t\t\t\t\t<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1142. \t\t\t\t\t\t\t\t\t\t\t\t</g>
  1143. \t\t\t\t\t\t\t\t\t\t\t\t<defs>
  1144. \t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
  1145. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1146. \t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
  1147. \t\t\t\t\t\t\t\t\t\t\t\t</defs>
  1148. \t\t\t\t\t\t\t\t\t\t\t</svg>
  1149. \t\t\t\t\t\t\t\t\t\t</a>
  1150. \t\t\t\t\t\t\t\t\t</div>
  1151. \t\t\t\t\t\t\t\t</span>
  1152.                             </th>
  1153.                         {% endif %}
  1154.                         {# <th>Utilisateur interne</th>
  1155.                         <th>Utilisateur externe</th> #}
  1156.                         <th >Activé</th>
  1157.                         <th>
  1158.                             <span class=\"flitre-icon\">
  1159.                                 Date de création
  1160.                                 <div class=\"container-icon\">
  1161.                                     <a href=\"?name-short=ASC\" class=\"icon-linkd\"  {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1162.                                         <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\">
  1163.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  1164.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1165.                                             </g>
  1166.                                             <defs>
  1167.                                                 <clipPath id=\"clip0_2060_1657\">
  1168.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1169.                                                 </clipPath>
  1170.                                             </defs>
  1171.                                         </svg>
  1172.                                     </a>
  1173.                                     <a href=\"?name-short=DESC\" class=\"icon-link2s\"  {{ stimulus_action('company--index', 'sortTable', 'click') }}>
  1174.                                         <svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1175.                                             <g clip-path=\"url(#clip0_2060_1657)\">
  1176.                                                 <path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
  1177.                                             </g>
  1178.                                             <defs>
  1179.                                                 <clipPath id=\"clip0_2060_1657\">
  1180.                                                     <rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
  1181.                                                 </clipPath>
  1182.                                             </defs>
  1183.                                         </svg>
  1184.                                     </a>
  1185.                                 </div>
  1186.                             </span>
  1187.                         </th>
  1188.                         <th></th>
  1189.                     </tr>
  1190.                     </thead>
  1191.                     <tbody>
  1192.                     {% for company in companys %}
  1193.                         <tr >
  1194.                             <td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">
  1195.                                 {% if company.logoName is not empty %}
  1196.                                     <img src=\"{{ vich_uploader_asset(company, 'logoFile') }}\" class=\"_profil-image-user \">
  1197.                                 {% else %}
  1198.                                     <div class=\"symbol symbol-35px\">
  1199.                                         <div class=\"_profil-image-user \">
  1200.                                             {{ company.name|slice(0,1) }}
  1201.                                         </div>
  1202.                                     </div>
  1203.                                 {% endif %}
  1204.                             </td>
  1205.                           <td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">{{ company.name }}</td>
  1206.                           
  1207.                            {% if is_agency() == false %}
  1208.                             <td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">{{ company.customerDiscount }}%</td>
  1209.                             <td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">
  1210.                                 {% set creditAvailable = 0 %}
  1211.                                 {% for credit in company.creditHistories %}
  1212.                                     {% if credit.creditExpiredAt > date() %}
  1213.                                         {% set creditAvailable = creditAvailable + credit.credit %}
  1214.                                     {% endif %}
  1215.                                 {% endfor %}
  1216.                                 {{ creditAvailable }}
  1217.                             </td>
  1218.                             {% endif %}
  1219.                         
  1220.                           <td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer;vertical-align:middle;\">
  1221.                               {% if company.enabled == 1 %}
  1222.                                   <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-check2\" viewBox=\"0 0 16 16\">
  1223.                                       <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\"/>
  1224.                                   </svg>
  1225.                               {% else %}
  1226.                                   <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-x\" viewBox=\"0 0 16 16\">
  1227.                                       <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\"/>
  1228.                                   </svg>
  1229.                               {% endif %}
  1230.                           </td>
  1231.                           <td style=\"vertical-align:middle;\">{{ company.createdAt|date('d-m-Y') }}</td>
  1232.                             <td>
  1233.                                 
  1234.                                 <div class=\"dropdown\">
  1235.                                         <button type=\"button\" 
  1236.                                                 class=\"btn btn-transparant\"
  1237.                                                 data-bs-toggle=\"dropdown\"
  1238.                                                 data-kt-menu-placement=\"bottom-start\"
  1239.                                                 id=\"{{company.id}}\"
  1240.                                                 >
  1241.                                             <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-three-dots\" viewBox=\"0 0 16 16\">
  1242.                                                 <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\"/>
  1243.                                             </svg>
  1244.                                         </button>
  1245.                                         <div class=\" dropdown-menu menu menu-sub menu-sub-dropdown menu-column menu-rounded menu-gray-600 fw-bold fs-7 w-200px py-4\"
  1246.                                             data-kt-menu=\"true\"
  1247.                                             aria-labelledby=\"{{company.id}}\"
  1248.                                             {{ stimulus_controller('company--command')  }}
  1249.                                             >
  1250.                                             
  1251.                                            
  1252.                                             <div class=\"menu-item px-3\">
  1253.                                                 <a href=\"{{ path('index_resource', {'id':company.id}) }}\" class=\"menu-link px-3\">
  1254.                                                     Ressources
  1255.                                                 </a>
  1256.                                             </div>
  1257.                                             
  1258.                                             <div class=\"menu-item px-3\">
  1259.                                                 <a href=\"{{ path('company_edit', {'id':company.id}) }}\" class=\"menu-link px-3\">
  1260.                                                     Modifier
  1261.                                                 </a>
  1262.                                             </div>
  1263.                                             {% if only_admin(app.user) or only_admin_agency(app.user) %}
  1264.                                                 <div class=\"menu-item px-3\">
  1265.                                                     <a href=\"#\" 
  1266.                                                     data-url=\"{{ path('company_delete', {'id':company.id}) }}\" class=\"menu-link px-3\" 
  1267.                                                     {{ stimulus_action('company--index', 'deleteCompany', 'click') }} class=\"menu-link px-3\">
  1268.                                                         Supprimer
  1269.                                                     </a>
  1270.                                                 </div>
  1271.                                             {% endif %}
  1272.                                         </div>
  1273.                                 </div>
  1274.                             </td>
  1275.                         </tr>
  1276.                     {% endfor %}
  1277.                 </table>
  1278.             </div>
  1279.         </div>
  1280.     </div>
  1281. {% include (\"company/_modal_delete_company.html.twig\") %}
  1282. {% endblock %}
  1283. ""company/index.html.twig""/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/templates/company/index.html.twig");
  1284.     }
  1285. }