<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* company/index.html.twig */
class __TwigTemplate_028150da0400ef3ce05766184dcbbdfb extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'styles' => [$this, 'block_styles'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "company/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "company/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "company/index.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Liste des entreprises";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 5
public function block_styles($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "styles"));
// line 6
yield " ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("plugins/custom/datatables/datatables.bundle");
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 9
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 10
yield " <div id=\"kt_content_container\" class=\"container-fluid\" ";
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env, "company--index");
yield ">
<div class=\"mobile-menu\" ";
// line 11
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env, "mission--scroll");
yield ">
";
// line 12
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 12, $this->source); })()), "request", [], "any", false, false, false, 12), "get", ["_route"], "method", false, false, false, 12) == "company_index")) {
// line 13
yield " <div class=\"mobile-head mb-4\">
<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\">
<rect width=\"48\" height=\"40\" rx=\"6\" fill=\"#F1F0F4\"/>
<path d=\"M15.75 20L32.25 20\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
<path d=\"M15.75 14L32.25 14\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
<path d=\"M15.75 26L32.25 26\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
</svg>
<h1 class=\"text-uppercase\">LISTE DES ENTREPRISES</h1>
<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\">
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"#F9FAFB\"/>
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#EAECF0\"/>
<g clip-path=\"url(#clip0_1161_6063)\">
<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\"/>
<path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
</g>
<defs>
<clipPath id=\"clip0_1161_6063\">
<rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"/>
</clipPath>
</defs>
</svg>
<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\">
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"var(--my-flow-pink)\"></rect>
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#fff\"></rect>
<g clip-path=\"url(#clip0_1161_6063)\">
<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>
<path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#fff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_1161_6063\">
<rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"></rect>
</clipPath>
</defs>
</svg>
</div>
<div class=\"collapse align-items-center position-relative my-1\" id=\"search_container_mobile\" style=\"flex-direction: column;\">
<div class=\"d-flex align-items-center position-relative my-1\" style=\"width: 100%;\">
<span class=\"svg-icon svg-icon-1 position-absolute ms-6\">
<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\">
<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
<rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />
<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\" />
<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\" />
</g>
</svg>
</span>
<input type=\"text\"
class=\"form-control form-control w-600px ps-15 input-search-2\"
placeholder=\"Rechercher ...\"
";
// line 63
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "searchTable", "keyup");
yield "
/>
</div>
</div>
";
}
// line 68
yield " </div>
<div class=\"titre-header\">
";
// line 70
if ((CoreExtension::getAttribute($this->env, $this->source, 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.', 70, $this->source); })()), "request", [], "any", false, false, false, 70), "get", ["_route"], "method", false, false, false, 70) == "company_index")) {
// line 71
yield " <h1 class=\"text-uppercase mobile-none\">LISTE DES ENTREPRISES</h1>
";
// line 88
yield " ";
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", false, false, false, 88)) || $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", false, false, false, 88))) || $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", false, false, false, 88)))) {
// line 89
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("company_new");
yield "\" class=\"btn btn-primary-custom font-weight-bold btn-add-company\">Ajouter une entreprise</a>
";
}
// line 91
yield " ";
}
// line 92
yield " </div>
<div class=\"card shadow-sm mt-5\">
<div class=\"card-body\" style=\"padding-top:0;\">
<div class=\"ctn-filter ctn-filter mt-8 my-4\" style=\"align-items:baseline\">
<div>
<button id=\"show-filter\" class=\"btn btn-filter collapsed \" data-toggle=\"collapse\" data-target=\"#refontefilterfile\" aria-expanded=\"false\" aria-controls=\"collapsefilter\">Filtrer
<svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2053_1644)\">
<path d=\"M6 13.25H18\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
<path d=\"M2.25 8.75H21.75\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
<path d=\"M9.75 17.75H14.25\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2053_1644\">
<rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"ml-4 w-96\" style=\"width: 96%;overflow-x: auto;\">
<div class=\"container-filter collapse \" id=\"refontefilterfile\" style=\"\">
<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; \">
<div class=\"div-relative\">
<input type=\"text\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par société\"
";
// line 120
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "searchTableSociete", "keyup");
yield "
/>
<button class=\"icon-search \">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2027_2078)\">
<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>
<path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2027_2078\">
<rect width=\"24\" height=\"24\" fill=\"white\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"div-relative\">
<input type=\"text\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par réduction\"
";
// line 141
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "searchTableReduction", "keyup");
yield "
/>
<button class=\"icon-search \">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2027_2078)\">
<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>
<path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2027_2078\">
<rect width=\"24\" height=\"24\" fill=\"white\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"div-relative\">
<input type=\"text\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par crédit \"
";
// line 162
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "searchTableCredit", "keyup");
yield "
/>
<button class=\"icon-search \">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2027_2078)\">
<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>
<path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2027_2078\">
<rect width=\"24\" height=\"24\" fill=\"white\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"div-relative\">
<input type=\"date\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par réduction\"
";
// line 183
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "searchTableDate", "change");
yield "
/>
</div>
<div class=\"filter-btn \">
<div class=\"btn-wordpress-and-commande\">
<a title=\"Réinitialiser\" href=\"/admin/entreprises\" class=\"btn btn-custom bg-custom-pink\">
<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\">
<g>
<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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#FFFFFF\" d=\"M19.501,0c0.348,0.164,0.483,0.436,0.494,0.82
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
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
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
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
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
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
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
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>
<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
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
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
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
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
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
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
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
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
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>
</g>
</svg>
</a>
</div>
</div>
<div class=\"btn-wordpress-and-commande hidden\">
<div class=\"filter-btn\">
<button data-bs-toggle=\"modal\" data-bs-target=\"#addRessourceModal\" class=\"btn btn-custom bg-custom-pink btn-addressource\">
<svg width=\"20\" height=\"12\" viewBox=\"0 0 13 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0.92 6.778V4.432H5.313V0.0389988H7.659V4.432H12.052V6.778H7.659V11.171H5.313V6.778H0.92Z\" fill=\"white\"/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<table id=\"kt_datatable_example_1\" class=\"table table-row-bordered gy-5\" ";
// line 248
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusTarget($this->env, "company--index", "datatable");
yield ">
<thead>
<tr class=\"fw-bold fs-6 text-muted\" >
<th>
<span class=\"flitre-icon\">
Logo
<div class=\"container-icon\" style=\"opacity:0\">
<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
// line 255
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
<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\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
// line 267
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</span>
</th>
<th>
<span class=\"flitre-icon\">
Société
<div class=\"container-icon\">
<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
// line 286
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
<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\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
// line 298
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</span>
</th>
";
// line 313
if (($this->extensions['App\Twig\UserTwig']->isAgency() == false)) {
// line 314
yield " <th>
<span class=\"flitre-icon\">
Réduction
\t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
// line 318
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
// line 330
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
</th>
<th>
<span class=\"flitre-icon\">
Crédit
\t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
// line 349
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
// line 361
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
</th>
";
}
// line 377
yield " ";
// line 379
yield " <th >Activé</th>
<th>
<span class=\"flitre-icon\">
Date de création
<div class=\"container-icon\">
<a href=\"?name-short=ASC\" class=\"icon-linkd\" ";
// line 384
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
<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\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
<a href=\"?name-short=DESC\" class=\"icon-link2s\" ";
// line 396
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "sortTable", "click");
yield ">
<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</span>
</th>
<th></th>
</tr>
</thead>
<tbody>
";
// line 415
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["company"]) {
// line 416
yield " <tr >
<td onclick=\"goTo('";
// line 417
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", false, false, false, 417)]), "html", null, true);
yield "')\" style=\"cursor: pointer; vertical-align:middle;\">
";
// line 418
if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "logoName", [], "any", false, false, false, 418))) {
// line 419
yield " <img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Vich\UploaderBundle\Twig\Extension\UploaderExtensionRuntime')->asset($context["company"], "logoFile"), "html", null, true);
yield "\" class=\"_profil-image-user \">
";
} else {
// line 421
yield " <div class=\"symbol symbol-35px\">
<div class=\"_profil-image-user \">
";
// line 423
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", false, false, false, 423), 0, 1), "html", null, true);
yield "
</div>
</div>
";
}
// line 427
yield " </td>
<td onclick=\"goTo('";
// line 429
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", false, false, false, 429)]), "html", null, true);
yield "')\" style=\"cursor: pointer; vertical-align:middle;\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "name", [], "any", false, false, false, 429), "html", null, true);
yield "</td>
";
// line 431
if (($this->extensions['App\Twig\UserTwig']->isAgency() == false)) {
// line 432
yield " <td onclick=\"goTo('";
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", false, false, false, 432)]), "html", null, true);
yield "')\" style=\"cursor: pointer; vertical-align:middle;\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "customerDiscount", [], "any", false, false, false, 432), "html", null, true);
yield "%</td>
<td onclick=\"goTo('";
// line 433
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", false, false, false, 433)]), "html", null, true);
yield "')\" style=\"cursor: pointer; vertical-align:middle;\">
";
// line 434
$context["creditAvailable"] = 0;
// line 435
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "creditHistories", [], "any", false, false, false, 435));
foreach ($context['_seq'] as $context["_key"] => $context["credit"]) {
// line 436
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["credit"], "creditExpiredAt", [], "any", false, false, false, 436) > $this->extensions['Twig\Extension\CoreExtension']->convertDate())) {
// line 437
yield " ";
$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", false, false, false, 437));
// line 438
yield " ";
}
// line 439
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['credit'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 440
yield " ";
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", null, true);
yield "
</td>
";
}
// line 443
yield "
<td onclick=\"goTo('";
// line 444
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", false, false, false, 444)]), "html", null, true);
yield "')\" style=\"cursor: pointer;vertical-align:middle;\">
";
// line 445
if ((CoreExtension::getAttribute($this->env, $this->source, $context["company"], "enabled", [], "any", false, false, false, 445) == 1)) {
// line 446
yield " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-check2\" viewBox=\"0 0 16 16\">
<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\"/>
</svg>
";
} else {
// line 450
yield " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-x\" viewBox=\"0 0 16 16\">
<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\"/>
</svg>
";
}
// line 454
yield " </td>
<td style=\"vertical-align:middle;\">";
// line 455
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "createdAt", [], "any", false, false, false, 455), "d-m-Y"), "html", null, true);
yield "</td>
<td>
<div class=\"dropdown\">
<button type=\"button\"
class=\"btn btn-transparant\"
data-bs-toggle=\"dropdown\"
data-kt-menu-placement=\"bottom-start\"
id=\"";
// line 463
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "id", [], "any", false, false, false, 463), "html", null, true);
yield "\"
>
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-three-dots\" viewBox=\"0 0 16 16\">
<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\"/>
</svg>
</button>
<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\"
data-kt-menu=\"true\"
aria-labelledby=\"";
// line 471
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["company"], "id", [], "any", false, false, false, 471), "html", null, true);
yield "\"
";
// line 472
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env, "company--command");
yield "
>
<div class=\"menu-item px-3\">
<a href=\"";
// line 477
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", false, false, false, 477)]), "html", null, true);
yield "\" class=\"menu-link px-3\">
Ressources
</a>
</div>
<div class=\"menu-item px-3\">
<a href=\"";
// line 483
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", false, false, false, 483)]), "html", null, true);
yield "\" class=\"menu-link px-3\">
Modifier
</a>
</div>
";
// line 488
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", false, false, false, 488)) || $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", false, false, false, 488)))) {
// line 489
yield " <div class=\"menu-item px-3\">
<a href=\"#\"
data-url=\"";
// line 491
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", false, false, false, 491)]), "html", null, true);
yield "\" class=\"menu-link px-3\"
";
// line 492
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusAction($this->env, "company--index", "deleteCompany", "click");
yield " class=\"menu-link px-3\">
Supprimer
</a>
</div>
";
}
// line 497
yield " </div>
</div>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['company'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 502
yield " </table>
</div>
</div>
</div>
";
// line 507
yield from $this->loadTemplate("company/_modal_delete_company.html.twig", "company/index.html.twig", 507)->unwrap()->yield($context);
// line 508
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "company/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}Liste des entreprises{% endblock %}
{% block styles %}
{{ encore_entry_link_tags('plugins/custom/datatables/datatables.bundle') }}
{% endblock %}
{% block body %}
<div id=\"kt_content_container\" class=\"container-fluid\" {{ stimulus_controller('company--index') }}>
<div class=\"mobile-menu\" {{ stimulus_controller('mission--scroll') }}>
{% if app.request.get('_route') == 'company_index' %}
<div class=\"mobile-head mb-4\">
<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\">
<rect width=\"48\" height=\"40\" rx=\"6\" fill=\"#F1F0F4\"/>
<path d=\"M15.75 20L32.25 20\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
<path d=\"M15.75 14L32.25 14\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
<path d=\"M15.75 26L32.25 26\" stroke=\"#344054\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
</svg>
<h1 class=\"text-uppercase\">LISTE DES ENTREPRISES</h1>
<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\">
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"#F9FAFB\"/>
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#EAECF0\"/>
<g clip-path=\"url(#clip0_1161_6063)\">
<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\"/>
<path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>
</g>
<defs>
<clipPath id=\"clip0_1161_6063\">
<rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"/>
</clipPath>
</defs>
</svg>
<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\">
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" fill=\"var(--my-flow-pink)\"></rect>
<rect x=\"0.5\" y=\"0.5\" width=\"47\" height=\"39\" rx=\"7.5\" stroke=\"#fff\"></rect>
<g clip-path=\"url(#clip0_1161_6063)\">
<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>
<path d=\"M27.8027 23.8035L32.9993 29\" stroke=\"#fff\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_1161_6063\">
<rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(12 8)\"></rect>
</clipPath>
</defs>
</svg>
</div>
<div class=\"collapse align-items-center position-relative my-1\" id=\"search_container_mobile\" style=\"flex-direction: column;\">
<div class=\"d-flex align-items-center position-relative my-1\" style=\"width: 100%;\">
<span class=\"svg-icon svg-icon-1 position-absolute ms-6\">
<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\">
<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
<rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />
<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\" />
<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\" />
</g>
</svg>
</span>
<input type=\"text\"
class=\"form-control form-control w-600px ps-15 input-search-2\"
placeholder=\"Rechercher ...\"
{{ stimulus_action('company--index', 'searchTable', 'keyup') }}
/>
</div>
</div>
{% endif %}
</div>
<div class=\"titre-header\">
{% if app.request.get('_route') == 'company_index' %}
<h1 class=\"text-uppercase mobile-none\">LISTE DES ENTREPRISES</h1>
{# <div class=\"d-flex align-items-center position-relative my-1 mobile-none\">
<span class=\"svg-icon svg-icon-1 position-absolute ms-6\">
<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\">
<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">
<rect x=\"0\" y=\"0\" width=\"24\" height=\"24\" />
<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\" />
<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\" />
</g>
</svg>
</span>
<input type=\"text\"
class=\"mobile-none form-control form-control w-600px ps-15 input-search-2\"
placeholder=\"Rechercher ...\"
{{ stimulus_action('company--index', 'searchTable', 'keyup') }}
/>
</div> #}
{% if only_admin(app.user) or only_admin_agency(app.user) or only_manager(app.user) %}
<a href=\"{{ path('company_new') }}\" class=\"btn btn-primary-custom font-weight-bold btn-add-company\">Ajouter une entreprise</a>
{% endif %}
{% endif %}
</div>
<div class=\"card shadow-sm mt-5\">
<div class=\"card-body\" style=\"padding-top:0;\">
<div class=\"ctn-filter ctn-filter mt-8 my-4\" style=\"align-items:baseline\">
<div>
<button id=\"show-filter\" class=\"btn btn-filter collapsed \" data-toggle=\"collapse\" data-target=\"#refontefilterfile\" aria-expanded=\"false\" aria-controls=\"collapsefilter\">Filtrer
<svg width=\"24\" height=\"25\" viewBox=\"0 0 24 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2053_1644)\">
<path d=\"M6 13.25H18\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
<path d=\"M2.25 8.75H21.75\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
<path d=\"M9.75 17.75H14.25\" stroke=\"#344054\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2053_1644\">
<rect width=\"24\" height=\"24\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"ml-4 w-96\" style=\"width: 96%;overflow-x: auto;\">
<div class=\"container-filter collapse \" id=\"refontefilterfile\" style=\"\">
<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; \">
<div class=\"div-relative\">
<input type=\"text\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par société\"
{{ stimulus_action('company--index', 'searchTableSociete', 'keyup') }}
/>
<button class=\"icon-search \">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2027_2078)\">
<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>
<path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2027_2078\">
<rect width=\"24\" height=\"24\" fill=\"white\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"div-relative\">
<input type=\"text\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par réduction\"
{{ stimulus_action('company--index', 'searchTableReduction', 'keyup') }}
/>
<button class=\"icon-search \">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2027_2078)\">
<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>
<path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2027_2078\">
<rect width=\"24\" height=\"24\" fill=\"white\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"div-relative\">
<input type=\"text\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par crédit \"
{{ stimulus_action('company--index', 'searchTableCredit', 'keyup') }}
/>
<button class=\"icon-search \">
<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2027_2078)\">
<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>
<path d=\"M15.8035 15.8035L21 21\" stroke=\"#667085\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2027_2078\">
<rect width=\"24\" height=\"24\" fill=\"white\"></rect>
</clipPath>
</defs>
</svg>
</button>
</div>
<div class=\"div-relative\">
<input type=\"date\"
style=\"margin-right: 10px;\"
class=\"form-control input-search input-search-2 mb-0\"
placeholder=\"Recherchez par réduction\"
{{ stimulus_action('company--index', 'searchTableDate', 'change') }}
/>
</div>
<div class=\"filter-btn \">
<div class=\"btn-wordpress-and-commande\">
<a title=\"Réinitialiser\" href=\"/admin/entreprises\" class=\"btn btn-custom bg-custom-pink\">
<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\">
<g>
<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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" fill=\"#FFFFFF\" d=\"M19.501,0c0.348,0.164,0.483,0.436,0.494,0.82
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
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
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
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
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
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
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
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>
<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
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
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
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
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
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
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
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
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
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>
</g>
</svg>
</a>
</div>
</div>
<div class=\"btn-wordpress-and-commande hidden\">
<div class=\"filter-btn\">
<button data-bs-toggle=\"modal\" data-bs-target=\"#addRessourceModal\" class=\"btn btn-custom bg-custom-pink btn-addressource\">
<svg width=\"20\" height=\"12\" viewBox=\"0 0 13 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<path d=\"M0.92 6.778V4.432H5.313V0.0389988H7.659V4.432H12.052V6.778H7.659V11.171H5.313V6.778H0.92Z\" fill=\"white\"/>
</svg>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<table id=\"kt_datatable_example_1\" class=\"table table-row-bordered gy-5\" {{ stimulus_target('company--index','datatable') }}>
<thead>
<tr class=\"fw-bold fs-6 text-muted\" >
<th>
<span class=\"flitre-icon\">
Logo
<div class=\"container-icon\" style=\"opacity:0\">
<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
<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\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</span>
</th>
<th>
<span class=\"flitre-icon\">
Société
<div class=\"container-icon\">
<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
<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\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</span>
</th>
{% if is_agency() == false %}
<th>
<span class=\"flitre-icon\">
Réduction
\t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
</th>
<th>
<span class=\"flitre-icon\">
Crédit
\t\t\t\t\t\t\t\t\t<div class=\"container-icon\">
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t\t<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
\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\">
\t\t\t\t\t\t\t\t\t\t\t\t<g clip-path=\"url(#clip0_2060_1657)\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t</g>
\t\t\t\t\t\t\t\t\t\t\t\t<defs>
\t\t\t\t\t\t\t\t\t\t\t\t\t<clipPath id=\"clip0_2060_1657\">
\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>
\t\t\t\t\t\t\t\t\t\t\t\t\t</clipPath>
\t\t\t\t\t\t\t\t\t\t\t\t</defs>
\t\t\t\t\t\t\t\t\t\t\t</svg>
\t\t\t\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
</th>
{% endif %}
{# <th>Utilisateur interne</th>
<th>Utilisateur externe</th> #}
<th >Activé</th>
<th>
<span class=\"flitre-icon\">
Date de création
<div class=\"container-icon\">
<a href=\"?name-short=ASC\" class=\"icon-linkd\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
<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\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
<a href=\"?name-short=DESC\" class=\"icon-link2s\" {{ stimulus_action('company--index', 'sortTable', 'click') }}>
<svg width=\"16\" height=\"17\" viewBox=\"0 0 16 17\" style=\"margin-top: -11px;\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
<g clip-path=\"url(#clip0_2060_1657)\">
<path d=\"M13 6.5L8 11.5L3 6.5\" stroke=\"#667085\" stroke-width=\"1.33333\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>
</g>
<defs>
<clipPath id=\"clip0_2060_1657\">
<rect width=\"16\" height=\"16\" fill=\"white\" transform=\"translate(0 0.5)\"></rect>
</clipPath>
</defs>
</svg>
</a>
</div>
</span>
</th>
<th></th>
</tr>
</thead>
<tbody>
{% for company in companys %}
<tr >
<td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">
{% if company.logoName is not empty %}
<img src=\"{{ vich_uploader_asset(company, 'logoFile') }}\" class=\"_profil-image-user \">
{% else %}
<div class=\"symbol symbol-35px\">
<div class=\"_profil-image-user \">
{{ company.name|slice(0,1) }}
</div>
</div>
{% endif %}
</td>
<td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">{{ company.name }}</td>
{% if is_agency() == false %}
<td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">{{ company.customerDiscount }}%</td>
<td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer; vertical-align:middle;\">
{% set creditAvailable = 0 %}
{% for credit in company.creditHistories %}
{% if credit.creditExpiredAt > date() %}
{% set creditAvailable = creditAvailable + credit.credit %}
{% endif %}
{% endfor %}
{{ creditAvailable }}
</td>
{% endif %}
<td onclick=\"goTo('{{ path('company_edit', {'id':company.id}) }}')\" style=\"cursor: pointer;vertical-align:middle;\">
{% if company.enabled == 1 %}
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-check2\" viewBox=\"0 0 16 16\">
<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\"/>
</svg>
{% else %}
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-x\" viewBox=\"0 0 16 16\">
<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\"/>
</svg>
{% endif %}
</td>
<td style=\"vertical-align:middle;\">{{ company.createdAt|date('d-m-Y') }}</td>
<td>
<div class=\"dropdown\">
<button type=\"button\"
class=\"btn btn-transparant\"
data-bs-toggle=\"dropdown\"
data-kt-menu-placement=\"bottom-start\"
id=\"{{company.id}}\"
>
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"25\" fill=\"currentColor\" class=\"bi bi-three-dots\" viewBox=\"0 0 16 16\">
<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\"/>
</svg>
</button>
<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\"
data-kt-menu=\"true\"
aria-labelledby=\"{{company.id}}\"
{{ stimulus_controller('company--command') }}
>
<div class=\"menu-item px-3\">
<a href=\"{{ path('index_resource', {'id':company.id}) }}\" class=\"menu-link px-3\">
Ressources
</a>
</div>
<div class=\"menu-item px-3\">
<a href=\"{{ path('company_edit', {'id':company.id}) }}\" class=\"menu-link px-3\">
Modifier
</a>
</div>
{% if only_admin(app.user) or only_admin_agency(app.user) %}
<div class=\"menu-item px-3\">
<a href=\"#\"
data-url=\"{{ path('company_delete', {'id':company.id}) }}\" class=\"menu-link px-3\"
{{ stimulus_action('company--index', 'deleteCompany', 'click') }} class=\"menu-link px-3\">
Supprimer
</a>
</div>
{% endif %}
</div>
</div>
</td>
</tr>
{% endfor %}
</table>
</div>
</div>
</div>
{% include (\"company/_modal_delete_company.html.twig\") %}
{% endblock %}
", "company/index.html.twig", "/var/www/vhosts/my-flow.fr/app.dev.my-flow.fr/templates/company/index.html.twig");
}
}