<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* dashboard_layout.html.twig */
class __TwigTemplate_a6f93ea83a860c0daa07c2c999edfe3fbcc7dfd880b12ce056e82854b6802d8d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'special_javascript' => [$this, 'block_special_javascript'],
'stylesheets' => [$this, 'block_stylesheets'],
'header' => [$this, 'block_header'],
'sidebar' => [$this, 'block_sidebar'],
'body' => [$this, 'block_body'],
'real_content' => [$this, 'block_real_content'],
'footer' => [$this, 'block_footer'],
'facebook_chatbot' => [$this, 'block_facebook_chatbot'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard_layout.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "dashboard_layout.html.twig"));
// line 1
echo "<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"utf-8\">
<meta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\">
<meta content=\"\" name=\"description\">
<meta content=\"\" name=\"keywords\">
\t<title>
\t\t";
// line 10
$this->displayBlock('title', $context, $blocks);
// line 11
echo "\t</title>
";
// line 12
$this->displayBlock('special_javascript', $context, $blocks);
// line 14
echo " <!-- Favicons -->
<link href=\"assets/img/favicon.png\" rel=\"icon\">
<link href=\"assets/img/apple-touch-icon.png\" rel=\"apple-touch-icon\">
\t";
// line 18
$this->displayBlock('stylesheets', $context, $blocks);
// line 69
echo "</head>
<body>
";
// line 73
$this->displayBlock('header', $context, $blocks);
// line 226
echo "
";
// line 227
$this->displayBlock('sidebar', $context, $blocks);
// line 231
echo "
\t";
// line 232
$this->displayBlock('body', $context, $blocks);
// line 238
echo "\t
\t\t\t
\t\t
\t";
// line 242
$this->displayBlock('footer', $context, $blocks);
// line 245
$this->displayBlock('facebook_chatbot', $context, $blocks);
// line 248
echo "
";
// line 250
$this->displayBlock('javascripts', $context, $blocks);
// line 334
echo "
\t
</body>
</html>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 10
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo " ";
echo twig_escape_filter($this->env, (isset($context["app_name"]) || array_key_exists("app_name", $context) ? $context["app_name"] : (function () { throw new RuntimeError('Variable "app_name" does not exist.', 10, $this->source); })()), "html", null, true);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 12
public function block_special_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "special_javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "special_javascript"));
// line 13
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 19
echo "
<!-- Vendor CSS Files -->
<meta content=\"\" name=\"description\">
<meta content=\"\" name=\"keywords\">
<!-- Favicons -->
<link href=\"assets/img/favicon.png\" rel=\"icon\">
<link href=\"assets/img/apple-touch-icon.png\" rel=\"apple-touch-icon\">
<!-- Google Fonts -->
<link href=\"https://fonts.gstatic.com\" rel=\"preconnect\">
<link href=\"https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i\" rel=\"stylesheet\">
<!-- Vendor CSS Files -->
<link href=\"";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/bootstrap/css/bootstrap.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 37
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/bootstrap-icons/bootstrap-icons.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/boxicons/css/boxicons.min.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/quill/quill.snow.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/quill/quill.bubble.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/remixicon/remixicon.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link href=\"";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/simple-datatables/style.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<!-- Template Main CSS File -->
<link href=\"";
// line 45
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/css/style.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
\t<link href=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/slick/slick-theme.css"), "html", null, true);
echo "\" rel=\"stylesheet\" type=\"text/css\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.css\" integrity=\"sha512-6S2HWzVFxruDlZxI3sXOZZ4/eJ8AcxkQH1+JjSe/ONCEqR9L4Ysq5JdT5ipqtzU7WHalNwzwBv+iE51gNHJNqQ==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
\t<link href=\"https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/general.css"), "html", null, true);
echo "\" rel=\"stylesheet\">
\t<style>
\t\t.resultat-temp-recherche, .resultat-temp-recherche a{
\t\t\tcolor: #000;
\t\t}
\t\t.resultat-temp-recherche{
\t\t\tcolor: #000;
\t\t\theight: 50px;
\t\t}
\t\t
\t\t.resultat-temp-recherche:hover{
\t\t\tbackground: #F9C852;
\t\t}
\t</style>
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 73
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
// line 74
echo "\t<!-- ======= Header ======= -->
<header id=\"header\" class=\"header fixed-top d-flex align-items-center\">
<div class=\"d-flex align-items-center justify-content-between\">
<a href=\"";
// line 78
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
echo "\" class=\"logo d-flex align-items-center\">
<img src=\"assets/img/logo.png\" alt=\"\">
<span class=\"d-none d-lg-block\">";
// line 80
echo twig_escape_filter($this->env, (isset($context["app_name"]) || array_key_exists("app_name", $context) ? $context["app_name"] : (function () { throw new RuntimeError('Variable "app_name" does not exist.', 80, $this->source); })()), "html", null, true);
echo "</span>
</a>
<i class=\"bi bi-list toggle-sidebar-btn\"></i>
</div><!-- End Logo -->
<div class=\"search-bar\">
<form class=\"search-form d-flex align-items-center\" method=\"POST\" action=\"#\">
<input type=\"text\" name=\"query\" id=\"searchInput\" placeholder=\"Search\" title=\"Enter search keyword\">
<button type=\"submit\" title=\"Search\"><i class=\"bi bi-search\"></i></button>
</form>
</div><!-- End Search Bar -->
<nav class=\"header-nav ms-auto\">
<ul class=\"d-flex align-items-center\">
<li class=\"nav-item d-block d-lg-none\">
<a class=\"nav-link nav-icon search-bar-toggle \" href=\"#\">
<i class=\"bi bi-search\"></i>
</a>
</li><!-- End Search Icon-->
<li class=\"nav-item\">
<img class=\"chargement\" src=\"";
// line 102
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("image/loading.gif"), "html", null, true);
echo "\" />
</li>
";
// line 106
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["userBoutique"]) || array_key_exists("userBoutique", $context) ? $context["userBoutique"] : (function () { throw new RuntimeError('Variable "userBoutique" does not exist.', 106, $this->source); })()), "role", [], "any", false, false, false, 106), twig_constant("App\\Entity\\RoleBoutique::ADMIN"))) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["userBoutique"]) || array_key_exists("userBoutique", $context) ? $context["userBoutique"] : (function () { throw new RuntimeError('Variable "userBoutique" does not exist.', 106, $this->source); })()), "role", [], "any", false, false, false, 106), twig_constant("App\\Entity\\RoleBoutique::MANAGER"))))) {
// line 107
echo "\t\t\t\t\t\t\t
\t\t\t<li class=\"nav-item\">
<a href=\"";
// line 110
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin.users", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 110, $this->source); })()), "slug", [], "any", false, false, false, 110)]), "html", null, true);
echo "\">
<i class=\"bi bi-people\"></i>
";
// line 112
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.users.users"), "html", null, true);
echo "
</a>
</li>
\t\t";
}
// line 116
echo "\t\t<li class=\"nav-item\">
\t\t<a href=\"";
// line 117
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin.my_tickets", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 117, $this->source); })()), "slug", [], "any", false, false, false, 117), "id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 117, $this->source); })()), "user", [], "any", false, false, false, 117), "id", [], "any", false, false, false, 117)]), "html", null, true);
echo "\">
\t\t <i class=\"nav-link-icon bi bi-chat\"></i>
\t\t\t";
// line 119
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.my_tickets"), "html", null, true);
echo "</a>
\t\t</li>\t
<li class=\"nav-item dropdown pe-3\">
<a class=\"nav-link nav-profile d-flex align-items-center pe-0\" href=\"#\" data-bs-toggle=\"dropdown\">
";
// line 124
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 124, $this->source); })()), "user", [], "any", false, false, false, 124)) {
// line 125
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 125, $this->source); })()), "user", [], "any", false, false, false, 125), "avatar", [], "any", false, false, false, 125), "url", [], "any", false, false, false, 125)), "html", null, true);
echo "\" alt=\"Profile\" class=\"rounded-circle\">
";
}
// line 127
echo " <span class=\"d-none d-md-block dropdown-toggle ps-2\">";
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 127, $this->source); })()), "user", [], "any", false, false, false, 127)) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 127, $this->source); })()), "user", [], "any", false, false, false, 127), "username", [], "any", false, false, false, 127), "html", null, true);
}
echo "</span>
</a>
<ul class=\"dropdown-menu dropdown-menu-end dropdown-menu-arrow profile\">
<li class=\"dropdown-header\">
";
// line 132
if (twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 132, $this->source); })()), "user", [], "any", false, false, false, 132)) {
echo "<h6>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 132, $this->source); })()), "user", [], "any", false, false, false, 132), "nomComplet", [], "any", false, false, false, 132), "html", null, true);
echo "</h6>";
}
// line 133
echo " <span>";
echo "</span>
</li>
\t\t\t";
// line 167
echo "
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a href=\"";
// line 172
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin.my_invoices", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 172, $this->source); })()), "slug", [], "any", false, false, false, 172)]), "html", null, true);
echo "\" type=\"button\" tabindex=\"0\" class=\"dropdown-item\">
<span>
";
// line 174
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.my_invoices"), "html", null, true);
echo "</span>
</a>
</li>
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a class=\"dropdown-item d-flex align-items-center\" href=\"";
// line 183
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">
<i class=\"bi bi-box-arrow-right\"></i>
<span>Se déconnecter</span>
</a>
</li>
</ul><!-- End Profile Dropdown Items -->
</li><!-- End Profile Nav -->
<li class=\"nav-item dropdown\">
<a class=\"nav-link nav-icon\" href=\"#\" data-bs-toggle=\"dropdown\">
<i class=\"bi bi-bell\"></i>
<span class=\"badge bg-primary badge-number\">";
// line 195
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\AdminController::nombreCommandeEnRetard", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 195, $this->source); })()), "slug", [], "any", false, false, false, 195)]));
echo "</span>
</a>
<ul class=\"dropdown-menu dropdown-menu-end dropdown-menu-arrow notifications\">
<li class=\"dropdown-header\">
Vous avez ";
// line 199
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\AdminController::nombreCommandeEnRetard", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 199, $this->source); })()), "slug", [], "any", false, false, false, 199)]));
echo " document expirés
<a href=\"#\"><span class=\"badge rounded-pill bg-primary p-2 ms-2\"></a>
</li>
<li>
<hr class=\"dropdown-divider\">
</li>
<li class=\"notification-item\">
<a href=\"";
// line 207
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin.liste_commande_en_retard", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["boutique"]) || array_key_exists("boutique", $context) ? $context["boutique"] : (function () { throw new RuntimeError('Variable "boutique" does not exist.', 207, $this->source); })()), "slug", [], "any", false, false, false, 207)]), "html", null, true);
echo "\" type=\"button\" tabindex=\"0\" class=\"dropdown-item\">
<div>
<h4>";
// line 210
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("admin.display_expired_elements"), "html", null, true);
echo "</h4>
</div>
</a>
</li>
</ul>
\t\t\t\t\t\t\t\t\t\t\t
</li>
</ul>
</nav><!-- End Icons Navigation -->
</header>
<span id=\"site-locale\" hidden>";
// line 224
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 224, $this->source); })()), "request", [], "any", false, false, false, 224), "getLocale", [], "method", false, false, false, 224), "html", null, true);
echo "</span>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 227
public function block_sidebar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "sidebar"));
// line 228
echo "\t <!-- ======= Sidebar ======= -->
\t\t";
// line 229
echo twig_include($this->env, $context, "admin/side_menu.html.twig");
echo "
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 232
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 233
echo "\t\t<main id=\"main\" class=\"main\">
\t\t\t";
// line 234
$this->displayBlock('real_content', $context, $blocks);
// line 236
echo "\t\t</main>
\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 234
public function block_real_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "real_content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "real_content"));
// line 235
echo "\t\t\t";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 242
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
// line 243
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 245
public function block_facebook_chatbot($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "facebook_chatbot"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "facebook_chatbot"));
// line 246
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 250
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 251
echo "
\t";
// line 253
echo twig_include($this->env, $context, "modules/__scripts.twig");
echo "
\t";
// line 257
echo "\t
\t\t
\t\t <!-- Vendor JS Files -->
\t<script src=\"";
// line 260
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/apexcharts/apexcharts.min.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 261
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/bootstrap/js/bootstrap.bundle.min.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 262
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/chart.js/chart.min.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 263
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/echarts/echarts.min.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 264
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/quill/quill.min.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 265
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/simple-datatables/simple-datatables.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 266
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/tinymce/tinymce.min.js"), "html", null, true);
echo "\"></script>
\t<script src=\"";
// line 267
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/vendor/php-email-form/validate.js"), "html", null, true);
echo "\"></script>
\t";
// line 270
echo "\t<script src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("framework/nad/assets/js/main.js"), "html", null, true);
echo "\"></script>
\t
<script src=\"https://cdn.ckeditor.com/ckeditor5/23.1.0/classic/ckeditor.js\"></script>
<script src=\"";
// line 274
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/general.js"), "html", null, true);
echo "\"></script>
";
// line 277
echo "
\t
\t";
// line 279
$context["translate"] = (("js/" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 279, $this->source); })()), "getRequest", [], "method", false, false, false, 279), "getLocale", [], "method", false, false, false, 279)) . "_translate.min.js");
// line 280
echo "\t<script type=\"text/javascript\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["translate"]) || array_key_exists("translate", $context) ? $context["translate"] : (function () { throw new RuntimeError('Variable "translate" does not exist.', 280, $this->source); })())), "html", null, true);
echo "\"></script>
\t
\t<script type=\"text/javascript\">
\t\t\$(function(){
\t\t\t\$searchInput = \$('#searchInput');
\t\t\t\$('#myDataTable').DataTable(
\t\t\t\t{
\t\t\t\t\"ordering\": false,
\"lengthMenu\": [[100, 50, 25, 10], [100, 50, 25, 10]],
\"pageLength\": 100
\t\t\t\t}
\t\t\t);
\$('.my-data-table').DataTable(
\t\t\t\t{
\t\t\t\t\"ordering\": false,
\"lengthMenu\": [[100, 50, 25, 10], [100, 50, 25, 10]],
\"pageLength\": 10
\t\t\t\t}
\t\t\t);
\t\t\t
\t\t\t
\t\t\tvar \$searchName = \$('.search-name');
\t\t\tvar \$searchTempResultUrl = \$('#searchTempResultUrl'), \$searchTempResult = \$('#searchTempResult');
\t\t\t\$searchTempResult.css('display', 'none');
\t\t\t
\t\t\t\$searchName.keyup(function(){
\t\t\t\t\$searchTempResult.show();
\t\t\t\tformData = new FormData;
\t\t\t\tformData.append('q', \$(this).val());
\t\t\t\t\$.ajax({
url: \$searchTempResultUrl.text(),
method: 'POST',
data: formData,
processData: false,
contentType: false,
success: function (data, textStatus, jqXHR) {
\t\t\t\t\t\$searchTempResult.html(data);
\t\t\t\t },
error: function(jqXHR, textStatus, errorThrown ){
}
\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$searchName.blur(function(){
\t\t\t\tsetTimeout(function(){
\t\t\t\t\t\$searchTempResult.css('display', 'none');
\t\t\t\t}, 1500);
\t\t\t});
\t\t});
\t</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "dashboard_layout.html.twig";
}
public function getDebugInfo()
{
return array ( 667 => 280, 665 => 279, 661 => 277, 656 => 274, 648 => 270, 643 => 267, 639 => 266, 635 => 265, 631 => 264, 627 => 263, 623 => 262, 619 => 261, 615 => 260, 610 => 257, 604 => 253, 600 => 251, 590 => 250, 579 => 246, 569 => 245, 558 => 243, 548 => 242, 538 => 235, 528 => 234, 516 => 236, 514 => 234, 511 => 233, 501 => 232, 489 => 229, 486 => 228, 476 => 227, 464 => 224, 447 => 210, 441 => 207, 430 => 199, 423 => 195, 408 => 183, 396 => 174, 391 => 172, 384 => 167, 379 => 133, 373 => 132, 362 => 127, 356 => 125, 354 => 124, 346 => 119, 341 => 117, 338 => 116, 331 => 112, 326 => 110, 321 => 107, 319 => 106, 312 => 102, 287 => 80, 282 => 78, 276 => 74, 266 => 73, 240 => 53, 233 => 49, 226 => 45, 220 => 42, 216 => 41, 212 => 40, 208 => 39, 204 => 38, 200 => 37, 196 => 36, 177 => 19, 167 => 18, 157 => 13, 147 => 12, 126 => 10, 113 => 334, 111 => 250, 107 => 248, 105 => 245, 103 => 242, 97 => 238, 95 => 232, 92 => 231, 90 => 227, 87 => 226, 85 => 73, 79 => 69, 77 => 18, 71 => 14, 69 => 12, 66 => 11, 64 => 10, 53 => 1,);
}
public function getSourceContext()
{
return new Source("<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"utf-8\">
<meta content=\"width=device-width, initial-scale=1.0\" name=\"viewport\">
<meta content=\"\" name=\"description\">
<meta content=\"\" name=\"keywords\">
\t<title>
\t\t{% block title %} {{ app_name }} {% endblock %}
\t</title>
{% block special_javascript %}
{% endblock special_javascript %}
<!-- Favicons -->
<link href=\"assets/img/favicon.png\" rel=\"icon\">
<link href=\"assets/img/apple-touch-icon.png\" rel=\"apple-touch-icon\">
\t{% block stylesheets %}
<!-- Vendor CSS Files -->
<meta content=\"\" name=\"description\">
<meta content=\"\" name=\"keywords\">
<!-- Favicons -->
<link href=\"assets/img/favicon.png\" rel=\"icon\">
<link href=\"assets/img/apple-touch-icon.png\" rel=\"apple-touch-icon\">
<!-- Google Fonts -->
<link href=\"https://fonts.gstatic.com\" rel=\"preconnect\">
<link href=\"https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i\" rel=\"stylesheet\">
<!-- Vendor CSS Files -->
<link href=\"{{ asset('framework/nad/assets/vendor/bootstrap/css/bootstrap.min.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('framework/nad/assets/vendor/bootstrap-icons/bootstrap-icons.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('framework/nad/assets/vendor/boxicons/css/boxicons.min.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('framework/nad/assets/vendor/quill/quill.snow.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('framework/nad/assets/vendor/quill/quill.bubble.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('framework/nad/assets/vendor/remixicon/remixicon.css') }}\" rel=\"stylesheet\">
<link href=\"{{ asset('framework/nad/assets/vendor/simple-datatables/style.css') }}\" rel=\"stylesheet\">
<!-- Template Main CSS File -->
<link href=\"{{ asset('framework/nad/assets/css/style.css') }}\" rel=\"stylesheet\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css\"/>
\t<link href=\"{{ asset('framework/slick/slick-theme.css') }}\" rel=\"stylesheet\" type=\"text/css\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.4/toastr.min.css\" integrity=\"sha512-6S2HWzVFxruDlZxI3sXOZZ4/eJ8AcxkQH1+JjSe/ONCEqR9L4Ysq5JdT5ipqtzU7WHalNwzwBv+iE51gNHJNqQ==\" crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\" />
\t<link href=\"https://cdn.datatables.net/1.13.1/css/jquery.dataTables.min.css\" rel=\"stylesheet\" type=\"text/css\">
<link href=\"{{ asset('css/general.css') }}\" rel=\"stylesheet\">
\t<style>
\t\t.resultat-temp-recherche, .resultat-temp-recherche a{
\t\t\tcolor: #000;
\t\t}
\t\t.resultat-temp-recherche{
\t\t\tcolor: #000;
\t\t\theight: 50px;
\t\t}
\t\t
\t\t.resultat-temp-recherche:hover{
\t\t\tbackground: #F9C852;
\t\t}
\t</style>
\t{% endblock stylesheets%}
</head>
<body>
{% block header %}
\t<!-- ======= Header ======= -->
<header id=\"header\" class=\"header fixed-top d-flex align-items-center\">
<div class=\"d-flex align-items-center justify-content-between\">
<a href=\"{{ path('home') }}\" class=\"logo d-flex align-items-center\">
<img src=\"assets/img/logo.png\" alt=\"\">
<span class=\"d-none d-lg-block\">{{ app_name }}</span>
</a>
<i class=\"bi bi-list toggle-sidebar-btn\"></i>
</div><!-- End Logo -->
<div class=\"search-bar\">
<form class=\"search-form d-flex align-items-center\" method=\"POST\" action=\"#\">
<input type=\"text\" name=\"query\" id=\"searchInput\" placeholder=\"Search\" title=\"Enter search keyword\">
<button type=\"submit\" title=\"Search\"><i class=\"bi bi-search\"></i></button>
</form>
</div><!-- End Search Bar -->
<nav class=\"header-nav ms-auto\">
<ul class=\"d-flex align-items-center\">
<li class=\"nav-item d-block d-lg-none\">
<a class=\"nav-link nav-icon search-bar-toggle \" href=\"#\">
<i class=\"bi bi-search\"></i>
</a>
</li><!-- End Search Icon-->
<li class=\"nav-item\">
<img class=\"chargement\" src=\"{{ asset('image/loading.gif') }}\" />
</li>
{% if userBoutique.role == constant('App\\\\Entity\\\\RoleBoutique::ADMIN') or userBoutique.role == constant('App\\\\Entity\\\\RoleBoutique::MANAGER') %}
\t\t\t\t\t\t\t
\t\t\t<li class=\"nav-item\">
<a href=\"{{ path('admin.users', {'slug': boutique.slug}) }}\">
<i class=\"bi bi-people\"></i>
{{ 'admin.users.users' | trans }}
</a>
</li>
\t\t{% endif %}
\t\t<li class=\"nav-item\">
\t\t<a href=\"{{ path('admin.my_tickets', {'slug': boutique.slug, 'id': app.user.id}) }}\">
\t\t <i class=\"nav-link-icon bi bi-chat\"></i>
\t\t\t{{ 'admin.my_tickets' | trans }}</a>
\t\t</li>\t
<li class=\"nav-item dropdown pe-3\">
<a class=\"nav-link nav-profile d-flex align-items-center pe-0\" href=\"#\" data-bs-toggle=\"dropdown\">
{% if app.user %}
<img src=\"{{ asset(app.user.avatar.url) }}\" alt=\"Profile\" class=\"rounded-circle\">
{% endif %}
<span class=\"d-none d-md-block dropdown-toggle ps-2\">{% if app.user %}{{ app.user.username }}{% endif %}</span>
</a>
<ul class=\"dropdown-menu dropdown-menu-end dropdown-menu-arrow profile\">
<li class=\"dropdown-header\">
{% if app.user %}<h6>{{ app.user.nomComplet }}</h6>{% endif %}
<span>{# Fonction #}</span>
</li>
\t\t\t{#
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a class=\"dropdown-item d-flex align-items-center\" href=\"users-profile.html\">
<i class=\"bi bi-person\"></i>
<span>My Profile</span>
</a>
</li>
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a class=\"dropdown-item d-flex align-items-center\" href=\"users-profile.html\">
<i class=\"bi bi-gear\"></i>
<span>Account Settings</span>
</a>
</li>
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a class=\"dropdown-item d-flex align-items-center\" href=\"pages-faq.html\">
<i class=\"bi bi-question-circle\"></i>
<span>Need Help?</span>
</a>
</li>
\t\t\t#}
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a href=\"{{ path('admin.my_invoices', {'slug': boutique.slug}) }}\" type=\"button\" tabindex=\"0\" class=\"dropdown-item\">
<span>
{{ 'admin.my_invoices' | trans }}</span>
</a>
</li>
<li>
<hr class=\"dropdown-divider\">
</li>
<li>
<a class=\"dropdown-item d-flex align-items-center\" href=\"{{ path('app_logout') }}\">
<i class=\"bi bi-box-arrow-right\"></i>
<span>Se déconnecter</span>
</a>
</li>
</ul><!-- End Profile Dropdown Items -->
</li><!-- End Profile Nav -->
<li class=\"nav-item dropdown\">
<a class=\"nav-link nav-icon\" href=\"#\" data-bs-toggle=\"dropdown\">
<i class=\"bi bi-bell\"></i>
<span class=\"badge bg-primary badge-number\">{{ render(controller('App\\\\Controller\\\\AdminController::nombreCommandeEnRetard', {'slug': boutique.slug})) }}</span>
</a>
<ul class=\"dropdown-menu dropdown-menu-end dropdown-menu-arrow notifications\">
<li class=\"dropdown-header\">
Vous avez {{ render(controller('App\\\\Controller\\\\AdminController::nombreCommandeEnRetard', {'slug': boutique.slug})) }} document expirés
<a href=\"#\"><span class=\"badge rounded-pill bg-primary p-2 ms-2\"></a>
</li>
<li>
<hr class=\"dropdown-divider\">
</li>
<li class=\"notification-item\">
<a href=\"{{ path('admin.liste_commande_en_retard', {'slug': boutique.slug}) }}\" type=\"button\" tabindex=\"0\" class=\"dropdown-item\">
<div>
<h4>{{ 'admin.display_expired_elements' | trans }}</h4>
</div>
</a>
</li>
</ul>
\t\t\t\t\t\t\t\t\t\t\t
</li>
</ul>
</nav><!-- End Icons Navigation -->
</header>
<span id=\"site-locale\" hidden>{{ app.request.getLocale() }}</span>
{% endblock header %}
{% block sidebar %}
\t <!-- ======= Sidebar ======= -->
\t\t{{ include('admin/side_menu.html.twig') }}
\t{% endblock sidebar %}
\t{% block body %}
\t\t<main id=\"main\" class=\"main\">
\t\t\t{% block real_content %}
\t\t\t{% endblock real_content %}
\t\t</main>
\t{% endblock body %}\t
\t\t\t
\t\t
\t{% block footer %}
{% endblock footer %}
{% block facebook_chatbot %}
{% endblock facebook_chatbot %}
{% block javascripts %}
\t{{ include('modules/__scripts.twig') }}
\t{# Vendor JS Files #}
\t
\t\t
\t\t <!-- Vendor JS Files -->
\t<script src=\"{{ asset('framework/nad/assets/vendor/apexcharts/apexcharts.min.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/chart.js/chart.min.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/echarts/echarts.min.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/quill/quill.min.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/simple-datatables/simple-datatables.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/tinymce/tinymce.min.js') }}\"></script>
\t<script src=\"{{ asset('framework/nad/assets/vendor/php-email-form/validate.js') }}\"></script>
\t{# Template Main JS File #}
\t<script src=\"{{ asset('framework/nad/assets/js/main.js') }}\"></script>
\t
<script src=\"https://cdn.ckeditor.com/ckeditor5/23.1.0/classic/ckeditor.js\"></script>
<script src=\"{{ asset('js/general.js') }}\"></script>
{# <script type=\"module\" src=\"{{ asset('js/assieckadapter.js') }}\">#}
\t
\t{% set translate = 'js/' ~ app.getRequest().getLocale() ~ '_translate.min.js' %}
\t<script type=\"text/javascript\" src=\"{{ asset(translate) }}\"></script>
\t
\t<script type=\"text/javascript\">
\t\t\$(function(){
\t\t\t\$searchInput = \$('#searchInput');
\t\t\t\$('#myDataTable').DataTable(
\t\t\t\t{
\t\t\t\t\"ordering\": false,
\"lengthMenu\": [[100, 50, 25, 10], [100, 50, 25, 10]],
\"pageLength\": 100
\t\t\t\t}
\t\t\t);
\$('.my-data-table').DataTable(
\t\t\t\t{
\t\t\t\t\"ordering\": false,
\"lengthMenu\": [[100, 50, 25, 10], [100, 50, 25, 10]],
\"pageLength\": 10
\t\t\t\t}
\t\t\t);
\t\t\t
\t\t\t
\t\t\tvar \$searchName = \$('.search-name');
\t\t\tvar \$searchTempResultUrl = \$('#searchTempResultUrl'), \$searchTempResult = \$('#searchTempResult');
\t\t\t\$searchTempResult.css('display', 'none');
\t\t\t
\t\t\t\$searchName.keyup(function(){
\t\t\t\t\$searchTempResult.show();
\t\t\t\tformData = new FormData;
\t\t\t\tformData.append('q', \$(this).val());
\t\t\t\t\$.ajax({
url: \$searchTempResultUrl.text(),
method: 'POST',
data: formData,
processData: false,
contentType: false,
success: function (data, textStatus, jqXHR) {
\t\t\t\t\t\$searchTempResult.html(data);
\t\t\t\t },
error: function(jqXHR, textStatus, errorThrown ){
}
\t\t\t\t});
\t\t\t});
\t\t\t
\t\t\t\$searchName.blur(function(){
\t\t\t\tsetTimeout(function(){
\t\t\t\t\t\$searchTempResult.css('display', 'none');
\t\t\t\t}, 1500);
\t\t\t});
\t\t});
\t</script>
{% endblock javascripts %}
\t
</body>
</html>", "dashboard_layout.html.twig", "/home/harmony/public_html/templates/dashboard_layout.html.twig");
}
}