var/cache/dev/twig/73/73d229f26e2612106b1af9871694b12b.php line 49

  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* app/index.html.twig */
  14. class __TwigTemplate_6b0ed14a0d44248c529b3b4ba489f9a5 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""app/index.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""app/index.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""app/index.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     public function block_body($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         // line 2
  54.         echo "
  55. <div id=\"layout-wrapper\">
  56.   <header id=\"page-topbar\">
  57.     <div class=\"navbar-header\">
  58.       <div class=\"d-flex\">
  59.         <div class=\"navbar-brand-box\">
  60.           <a href=\"";
  61.         // line 8
  62.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main");
  63.         echo "\" class=\"logo logo-dark\">
  64.             <span class=\"logo-sm\">
  65.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  66.             </span>
  67.             <span class=\"logo-lg\">
  68.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  69.               <span class=\"logo-txt\" style=\"font-size: 20px\">
  70.                 <span style=\"color: #950853\"></span>CleverNursery</span
  71.               >
  72.             </span>
  73.           </a>
  74.           <a href=\"";
  75.         // line 20
  76.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_main");
  77.         echo "\" class=\"logo logo-light\">
  78.             <span class=\"logo-sm\">
  79.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  80.             </span>
  81.             <span class=\"logo-lg\">
  82.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  83.               <span class=\"logo-txt\" style=\"font-size: 24px\">
  84.                 <span style=\"color: #950853\"></span>Clever Nursery</span
  85.               >
  86.             </span>
  87.           </a>
  88.         </div>
  89.         <button
  90.           type=\"button\"
  91.           class=\"btn btn-sm px-3 font-size-16 header-item\"
  92.           id=\"vertical-menu-btn\"
  93.         >
  94.           <i class=\"fa fa-fw fa-bars\"></i>
  95.         </button>
  96.         <div class=\"d-none d-lg-block\">
  97.           <div class=\"position-relative logo\">
  98.             <span class=\"logo-lg\">
  99.               <span class=\"logo-txt\" style=\"font-size: 20px\">
  100.                 <img
  101.                   src=\"";
  102.         // line 46
  103.         ((twig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'46$this->source); })()), "logo", [], "any"falsefalsefalse46)) ? (print (twig_escape_filter($this->env, ("/uploads/companies/" twig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'46$this->source); })()), "logo", [], "any"falsefalsefalse46)), "html"nulltrue))) : (print ("data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==")));
  104.         echo "\"
  105.                   alt=\"\"
  106.                   height=\"24\"
  107.                 />
  108.                 ";
  109.         // line 50
  110.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'50$this->source); })()), "name", [], "any"falsefalsefalse50), "html"nulltrue);
  111.         echo "
  112.               </span>
  113.             </span>
  114.           </div>
  115.         </div>
  116.         <div class=\"d-none d-lg-block\">
  117.           <div class=\"position-relative logo\">
  118.             <span class=\"logo-lg\">
  119.               <span class=\"logo-txt font-size-14\">
  120.                 ";
  121.         // line 60
  122.         $context['_parent'] = $context;
  123.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'60$this->source); })()), "seasons", [], "any"falsefalsefalse60));
  124.         foreach ($context['_seq'] as $context["_key"] => $context["season"]) {
  125.             echo " ";
  126.             if (twig_get_attribute($this->env$this->source$context["season"], "isActive", [], "any"falsefalsefalse60)) {
  127.                 // line 61
  128.                 echo "                <span class=\"text-muted\">
  129.                   ";
  130.                 // line 62
  131.                 echo twig_escape_filter($this->env$context["season"], "html"nulltrue);
  132.                 echo "
  133.                 </span>
  134.                 ";
  135.             }
  136.             // line 64
  137.             echo " ";
  138.         }
  139.         $_parent $context['_parent'];
  140.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['season'], $context['_parent'], $context['loop']);
  141.         $context array_intersect_key($context$_parent) + $_parent;
  142.         // line 65
  143.         echo "              </span>
  144.             </span>
  145.           </div>
  146.         </div>
  147.         <div class=\"d-none d-lg-block\">
  148.           <div class=\"position-relative logo\">
  149.             <span class=\"logo-lg\">
  150.               <span class=\"logo-txt\" style=\"font-size: 20px\">
  151.                 ";
  152.         // line 74
  153.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'74$this->source); })()), "abonnements", [], "any"falsefalsefalse74)) > 0)) {
  154.             echo " ";
  155.             $context['_parent'] = $context;
  156.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source,             // line 75
  157. (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'75$this->source); })()), "abonnements", [], "any"falsefalsefalse75));
  158.             foreach ($context['_seq'] as $context["_key"] => $context["abonnement"]) {
  159.                 echo " Licence valid :
  160.                 ";
  161.                 // line 76
  162.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["abonnement"], "product", [], "any"falsefalsefalse76), "name", [], "any"falsefalsefalse76), "html"nulltrue);
  163.                 echo "
  164.                 <small>
  165.                   <span class=\"badge rounded-pill bg-success\">
  166.                     Licence valid :
  167.                     ";
  168.                 // line 80
  169.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["abonnement"], "product", [], "any"falsefalsefalse80), "name", [], "any"falsefalsefalse80), "html"nulltrue);
  170.                 echo "
  171.                   </span>
  172.                 </small>
  173.                 ";
  174.             }
  175.             $_parent $context['_parent'];
  176.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['abonnement'], $context['_parent'], $context['loop']);
  177.             $context array_intersect_key($context$_parent) + $_parent;
  178.             // line 83
  179.             echo " ";
  180.         } else {
  181.             echo " ";
  182.             if (twig_get_attribute($this->env$this->source, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'83$this->source); })()), "isTrial", [], "any"falsefalsefalse83)) {
  183.                 // line 84
  184.                 echo "                <small>
  185.                   <span class=\"badge rounded-pill bg-info\">
  186.                     Trial version
  187.                   </span>
  188.                 </small>
  189.                 ";
  190.             } else {
  191.                 // line 90
  192.                 echo "                <small>
  193.                   <span class=\"badge rounded-pill bg-danger\">
  194.                     Trial version expired !
  195.                   </span>
  196.                 </small>
  197.                 ";
  198.             }
  199.             // line 95
  200.             echo " ";
  201.         }
  202.         // line 96
  203.         echo "              </span>
  204.             </span>
  205.           </div>
  206.         </div>
  207.       </div>
  208.       <div class=\"d-flex\">
  209.         <div class=\"dropdown d-none d-lg-inline-block ms-1\">
  210.           <button
  211.             type=\"button\"
  212.             class=\"btn header-item\"
  213.             data-bs-toggle=\"dropdown\"
  214.             aria-haspopup=\"true\"
  215.             aria-expanded=\"false\"
  216.           >
  217.             <i data-feather=\"grid\" class=\"icon-lg\"></i>
  218.           </button>
  219.           <div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-end\">
  220.             <div class=\"p-2\">
  221.               <div class=\"row g-0\">
  222.                 <div class=\"col\">
  223.                   <a
  224.                     class=\"dropdown-icon-item\"
  225.                     href=\"";
  226.         // line 119
  227.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_child_index");
  228.         echo "\"
  229.                   >
  230.                     <img src=\"/front/images/son.png\" alt=\"Enfants\" />
  231.                     <span> ";
  232.         // line 122
  233.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Enfants", [], "messages");
  234.         echo " </span>
  235.                   </a>
  236.                 </div>
  237.                 <div class=\"col\">
  238.                   <a
  239.                     class=\"dropdown-icon-item\"
  240.                     href=\"";
  241.         // line 129
  242.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_subscription_index");
  243.         echo "\"
  244.                   >
  245.                     <img
  246.                       src=\"/front/images/subscription.png\"
  247.                       alt=\"Abonnements\"
  248.                     />
  249.                     <span> ";
  250.         // line 135
  251.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Abonnements", [], "messages");
  252.         echo " </span>
  253.                   </a>
  254.                 </div>
  255.                 <div class=\"col\">
  256.                   <a
  257.                     class=\"dropdown-icon-item\"
  258.                     href=\"";
  259.         // line 141
  260.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_payment_index");
  261.         echo "\"
  262.                   >
  263.                     <img src=\"/front/images/cash-payment.png\" alt=\"Paiements\" />
  264.                     <span> ";
  265.         // line 144
  266.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Paiements", [], "messages");
  267.         echo " </span>
  268.                   </a>
  269.                 </div>
  270.               </div>
  271.               <div class=\"row g-0\">
  272.                 <div class=\"col\">
  273.                   <a
  274.                     class=\"dropdown-icon-item\"
  275.                     href=\"";
  276.         // line 153
  277.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_expense_index");
  278.         echo "\"
  279.                   >
  280.                     <img src=\"/front/images/poor.png\" alt=\"Dépenses\" />
  281.                     <span> ";
  282.         // line 156
  283.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Dépenses", [], "messages");
  284.         echo " </span>
  285.                   </a>
  286.                 </div>
  287.                 <div class=\"col\">
  288.                   <a
  289.                     class=\"dropdown-icon-item\"
  290.                     href=\"";
  291.         // line 162
  292.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_task_index");
  293.         echo "\"
  294.                   >
  295.                     <img src=\"/front/images/task.png\" alt=\"Tâches\" />
  296.                     <span> ";
  297.         // line 165
  298.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Tâches", [], "messages");
  299.         echo " </span>
  300.                   </a>
  301.                 </div>
  302.                 <div class=\"col\">
  303.                   <a
  304.                     class=\"dropdown-icon-item\"
  305.                     href=\"";
  306.         // line 171
  307.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_evenement_index");
  308.         echo "\"
  309.                   >
  310.                     <img src=\"/front/images/event.png\" alt=\"Événements\" />
  311.                     <span> ";
  312.         // line 174
  313.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Événements", [], "messages");
  314.         echo " </span>
  315.                   </a>
  316.                 </div>
  317.               </div>
  318.             </div>
  319.           </div>
  320.         </div>
  321.         <div class=\"dropdown d-none d-sm-inline-block\">
  322.           <button
  323.             type=\"button\"
  324.             class=\"btn header-item waves-effect\"
  325.             data-toggle=\"dropdown\"
  326.             aria-haspopup=\"true\"
  327.             aria-expanded=\"false\"
  328.           >
  329.             <img
  330.               class=\"\"
  331.               src=\"/app/images/flags/";
  332.         // line 192
  333.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'192$this->source); })()), "request", [], "any"falsefalsefalse192), "locale", [], "any"falsefalsefalse192), "html"nulltrue);
  334.         echo ".jpg\"
  335.               alt=\"Header Language\"
  336.               height=\"16\"
  337.             />
  338.           </button>
  339.           <div class=\"dropdown-menu dropdown-menu-end\">
  340.             <a href=\"?_locale=ar_DZ\" class=\"dropdown-item notify-item\">
  341.               <img
  342.                 src=\"/app/images/flags/ar_DZ.jpg\"
  343.                 alt=\"user-image\"
  344.                 class=\"me-1\"
  345.                 height=\"12\"
  346.               />
  347.               <span class=\"align-middle\"> العربية </span>
  348.             </a>
  349.             <a href=\"?_locale=fr\" class=\"dropdown-item notify-item\">
  350.               <img
  351.                 src=\"/app/images/flags/fr.jpg\"
  352.                 alt=\"user-image\"
  353.                 class=\"me-1\"
  354.                 height=\"12\"
  355.               />
  356.               <span class=\"align-middle\">Français</span>
  357.             </a>
  358.             ";
  359.         // line 229
  360.         echo "          </div>
  361.         </div>
  362.         <div class=\"dropdown d-none d-sm-inline-block\">
  363.           <button type=\"button\" class=\"btn header-item\" id=\"mode-setting-btn\">
  364.             <i data-feather=\"moon\" class=\"icon-lg layout-mode-dark\"></i>
  365.             <i data-feather=\"sun\" class=\"icon-lg layout-mode-light\"></i>
  366.           </button>
  367.         </div>
  368.         <div class=\"dropdown d-inline-block\">
  369.           <button type=\"button\" class=\"btn header-item me-2\">
  370.             <a href=\"";
  371.         // line 241
  372.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_company_my", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'241$this->source); })()), "user", [], "any"falsefalsefalse241), "company", [], "any"falsefalsefalse241), "id", [], "any"falsefalsefalse241)]), "html"nulltrue);
  373.         echo "\">
  374.               <i data-feather=\"settings\" class=\"icon-lg\"></i>
  375.             </a>
  376.           </button>
  377.         </div>
  378.         ";
  379.         // line 247
  380.         $this->loadTemplate("app/_partials/user-actions.html.twig""app/index.html.twig"247)->display($context);
  381.         // line 248
  382.         echo "      </div>
  383.     </div>
  384.   </header>
  385.   <div class=\"vertical-menu\">
  386.     <div data-simplebar class=\"h-100\">
  387.       ";
  388.         // line 254
  389.         $this->loadTemplate("app/_partials/sidebar-menu.html.twig""app/index.html.twig"254)->display($context);
  390.         // line 255
  391.         echo "    </div>
  392.   </div>
  393.   <div class=\"main-content\">
  394.     <div class=\"page-content\">
  395.       ";
  396.         // line 260
  397.         if ( !twig_get_attribute($this->env$this->sourcetwig_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.'260$this->source); })()), "user", [], "any"falsefalsefalse260), "isVerified", [], "any"falsefalsefalse260)) {
  398.             // line 261
  399.             echo "      <div class=\"row\">
  400.         <div class=\"col-xl-12\">
  401.           <div
  402.             class=\"alert alert-danger alert-dismissible alert-label-icon label-arrow fade show\"
  403.             role=\"alert\"
  404.           >
  405.             <i class=\"mdi mdi-alert-outline label-icon\"></i
  406.             ><strong> ";
  407.             // line 268
  408.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Confirmez votre email", [], "messages");
  409.             echo "!</strong>
  410.             <a href=\"";
  411.             // line 269
  412.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_confirm_email");
  413.             echo "\" class=\"alert-link\"
  414.               >";
  415.             // line 270
  416.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Renvoyer", [], "messages");
  417.             echo "!</a
  418.             >
  419.           </div>
  420.         </div>
  421.       </div>
  422.       ";
  423.         }
  424.         // line 276
  425.         echo "      <div class=\"container-fluid\">";
  426.         $this->displayBlock('content'$context$blocks);
  427.         echo "</div>
  428.     </div>
  429.     ";
  430.         // line 279
  431.         $this->loadTemplate("app/_partials/footer.html.twig""app/index.html.twig"279)->display($context);
  432.         // line 280
  433.         echo "  </div>
  434. </div>
  435. ";
  436.         // line 283
  437.         $this->loadTemplate("app/_partials/flashes.html.twig""app/index.html.twig"283)->display($context);
  438.         // line 284
  439.         echo "
  440. <div class=\"rightbar-overlay\"></div>
  441. ";
  442.         
  443.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  444.         
  445.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  446.     }
  447.     // line 276
  448.     public function block_content($context, array $blocks = [])
  449.     {
  450.         $macros $this->macros;
  451.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  452.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  453.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  454.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  455.         
  456.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  457.         
  458.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  459.     }
  460.     /**
  461.      * @codeCoverageIgnore
  462.      */
  463.     public function getTemplateName()
  464.     {
  465.         return "app/index.html.twig";
  466.     }
  467.     /**
  468.      * @codeCoverageIgnore
  469.      */
  470.     public function isTraitable()
  471.     {
  472.         return false;
  473.     }
  474.     /**
  475.      * @codeCoverageIgnore
  476.      */
  477.     public function getDebugInfo()
  478.     {
  479.         return array (  483 => 276,  471 => 284,  469 => 283,  464 => 280,  462 => 279,  455 => 276,  446 => 270,  442 => 269,  438 => 268,  429 => 261,  427 => 260,  420 => 255,  418 => 254,  410 => 248,  408 => 247,  399 => 241,  385 => 229,  356 => 192,  335 => 174,  329 => 171,  320 => 165,  314 => 162,  305 => 156,  299 => 153,  287 => 144,  281 => 141,  272 => 135,  263 => 129,  253 => 122,  247 => 119,  222 => 96,  219 => 95,  211 => 90,  203 => 84,  198 => 83,  188 => 80,  181 => 76,  176 => 75,  172 => 74,  161 => 65,  155 => 64,  149 => 62,  146 => 61,  140 => 60,  127 => 50,  120 => 46,  91 => 20,  76 => 8,  68 => 2,  36 => 1,);
  480.     }
  481.     public function getSourceContext()
  482.     {
  483.         return new Source("{% extends 'base.html.twig' %} {% block body %}
  484. <div id=\"layout-wrapper\">
  485.   <header id=\"page-topbar\">
  486.     <div class=\"navbar-header\">
  487.       <div class=\"d-flex\">
  488.         <div class=\"navbar-brand-box\">
  489.           <a href=\"{{ path('app_main') }}\" class=\"logo logo-dark\">
  490.             <span class=\"logo-sm\">
  491.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  492.             </span>
  493.             <span class=\"logo-lg\">
  494.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  495.               <span class=\"logo-txt\" style=\"font-size: 20px\">
  496.                 <span style=\"color: #950853\"></span>CleverNursery</span
  497.               >
  498.             </span>
  499.           </a>
  500.           <a href=\"{{ path('app_main') }}\" class=\"logo logo-light\">
  501.             <span class=\"logo-sm\">
  502.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  503.             </span>
  504.             <span class=\"logo-lg\">
  505.               <img src=\"/front/images/logo-2.png\" alt=\"\" height=\"24\" />
  506.               <span class=\"logo-txt\" style=\"font-size: 24px\">
  507.                 <span style=\"color: #950853\"></span>Clever Nursery</span
  508.               >
  509.             </span>
  510.           </a>
  511.         </div>
  512.         <button
  513.           type=\"button\"
  514.           class=\"btn btn-sm px-3 font-size-16 header-item\"
  515.           id=\"vertical-menu-btn\"
  516.         >
  517.           <i class=\"fa fa-fw fa-bars\"></i>
  518.         </button>
  519.         <div class=\"d-none d-lg-block\">
  520.           <div class=\"position-relative logo\">
  521.             <span class=\"logo-lg\">
  522.               <span class=\"logo-txt\" style=\"font-size: 20px\">
  523.                 <img
  524.                   src=\"{{ company.logo ? '/uploads/companies/' ~ company.logo : 'data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==' }}\"
  525.                   alt=\"\"
  526.                   height=\"24\"
  527.                 />
  528.                 {{ company.name }}
  529.               </span>
  530.             </span>
  531.           </div>
  532.         </div>
  533.         <div class=\"d-none d-lg-block\">
  534.           <div class=\"position-relative logo\">
  535.             <span class=\"logo-lg\">
  536.               <span class=\"logo-txt font-size-14\">
  537.                 {% for season in company.seasons %} {% if season.isActive %}
  538.                 <span class=\"text-muted\">
  539.                   {{ season }}
  540.                 </span>
  541.                 {% endif %} {% endfor %}
  542.               </span>
  543.             </span>
  544.           </div>
  545.         </div>
  546.         <div class=\"d-none d-lg-block\">
  547.           <div class=\"position-relative logo\">
  548.             <span class=\"logo-lg\">
  549.               <span class=\"logo-txt\" style=\"font-size: 20px\">
  550.                 {% if company.abonnements|length > 0 %} {% for abonnement in
  551.                 company.abonnements %} Licence valid :
  552.                 {{ abonnement.product.name }}
  553.                 <small>
  554.                   <span class=\"badge rounded-pill bg-success\">
  555.                     Licence valid :
  556.                     {{ abonnement.product.name }}
  557.                   </span>
  558.                 </small>
  559.                 {% endfor %} {% else %} {% if company.isTrial %}
  560.                 <small>
  561.                   <span class=\"badge rounded-pill bg-info\">
  562.                     Trial version
  563.                   </span>
  564.                 </small>
  565.                 {% else %}
  566.                 <small>
  567.                   <span class=\"badge rounded-pill bg-danger\">
  568.                     Trial version expired !
  569.                   </span>
  570.                 </small>
  571.                 {% endif %} {% endif %}
  572.               </span>
  573.             </span>
  574.           </div>
  575.         </div>
  576.       </div>
  577.       <div class=\"d-flex\">
  578.         <div class=\"dropdown d-none d-lg-inline-block ms-1\">
  579.           <button
  580.             type=\"button\"
  581.             class=\"btn header-item\"
  582.             data-bs-toggle=\"dropdown\"
  583.             aria-haspopup=\"true\"
  584.             aria-expanded=\"false\"
  585.           >
  586.             <i data-feather=\"grid\" class=\"icon-lg\"></i>
  587.           </button>
  588.           <div class=\"dropdown-menu dropdown-menu-lg dropdown-menu-end\">
  589.             <div class=\"p-2\">
  590.               <div class=\"row g-0\">
  591.                 <div class=\"col\">
  592.                   <a
  593.                     class=\"dropdown-icon-item\"
  594.                     href=\"{{ path('app_child_index') }}\"
  595.                   >
  596.                     <img src=\"/front/images/son.png\" alt=\"Enfants\" />
  597.                     <span> {% trans %} Enfants {% endtrans %} </span>
  598.                   </a>
  599.                 </div>
  600.                 <div class=\"col\">
  601.                   <a
  602.                     class=\"dropdown-icon-item\"
  603.                     href=\"{{ path('app_subscription_index') }}\"
  604.                   >
  605.                     <img
  606.                       src=\"/front/images/subscription.png\"
  607.                       alt=\"Abonnements\"
  608.                     />
  609.                     <span> {% trans %} Abonnements {% endtrans %} </span>
  610.                   </a>
  611.                 </div>
  612.                 <div class=\"col\">
  613.                   <a
  614.                     class=\"dropdown-icon-item\"
  615.                     href=\"{{ path('app_payment_index') }}\"
  616.                   >
  617.                     <img src=\"/front/images/cash-payment.png\" alt=\"Paiements\" />
  618.                     <span> {% trans %} Paiements {% endtrans %} </span>
  619.                   </a>
  620.                 </div>
  621.               </div>
  622.               <div class=\"row g-0\">
  623.                 <div class=\"col\">
  624.                   <a
  625.                     class=\"dropdown-icon-item\"
  626.                     href=\"{{ path('app_expense_index') }}\"
  627.                   >
  628.                     <img src=\"/front/images/poor.png\" alt=\"Dépenses\" />
  629.                     <span> {% trans %} Dépenses {% endtrans %} </span>
  630.                   </a>
  631.                 </div>
  632.                 <div class=\"col\">
  633.                   <a
  634.                     class=\"dropdown-icon-item\"
  635.                     href=\"{{ path('app_task_index') }}\"
  636.                   >
  637.                     <img src=\"/front/images/task.png\" alt=\"Tâches\" />
  638.                     <span> {% trans %} Tâches {% endtrans %} </span>
  639.                   </a>
  640.                 </div>
  641.                 <div class=\"col\">
  642.                   <a
  643.                     class=\"dropdown-icon-item\"
  644.                     href=\"{{ path('app_evenement_index') }}\"
  645.                   >
  646.                     <img src=\"/front/images/event.png\" alt=\"Événements\" />
  647.                     <span> {% trans %} Événements {% endtrans %} </span>
  648.                   </a>
  649.                 </div>
  650.               </div>
  651.             </div>
  652.           </div>
  653.         </div>
  654.         <div class=\"dropdown d-none d-sm-inline-block\">
  655.           <button
  656.             type=\"button\"
  657.             class=\"btn header-item waves-effect\"
  658.             data-toggle=\"dropdown\"
  659.             aria-haspopup=\"true\"
  660.             aria-expanded=\"false\"
  661.           >
  662.             <img
  663.               class=\"\"
  664.               src=\"/app/images/flags/{{ app.request.locale }}.jpg\"
  665.               alt=\"Header Language\"
  666.               height=\"16\"
  667.             />
  668.           </button>
  669.           <div class=\"dropdown-menu dropdown-menu-end\">
  670.             <a href=\"?_locale=ar_DZ\" class=\"dropdown-item notify-item\">
  671.               <img
  672.                 src=\"/app/images/flags/ar_DZ.jpg\"
  673.                 alt=\"user-image\"
  674.                 class=\"me-1\"
  675.                 height=\"12\"
  676.               />
  677.               <span class=\"align-middle\"> العربية </span>
  678.             </a>
  679.             <a href=\"?_locale=fr\" class=\"dropdown-item notify-item\">
  680.               <img
  681.                 src=\"/app/images/flags/fr.jpg\"
  682.                 alt=\"user-image\"
  683.                 class=\"me-1\"
  684.                 height=\"12\"
  685.               />
  686.               <span class=\"align-middle\">Français</span>
  687.             </a>
  688.             {#
  689.             <a href=\"?_locale=en\" class=\"dropdown-item notify-item\">
  690.               <img
  691.                 src=\"/app/images/flags/en.jpg\"
  692.                 alt=\"user-image\"
  693.                 class=\"me-1\"
  694.                 height=\"12\"
  695.               />
  696.               <span class=\"align-middle\"> English </span>
  697.             </a>
  698.             #}
  699.           </div>
  700.         </div>
  701.         <div class=\"dropdown d-none d-sm-inline-block\">
  702.           <button type=\"button\" class=\"btn header-item\" id=\"mode-setting-btn\">
  703.             <i data-feather=\"moon\" class=\"icon-lg layout-mode-dark\"></i>
  704.             <i data-feather=\"sun\" class=\"icon-lg layout-mode-light\"></i>
  705.           </button>
  706.         </div>
  707.         <div class=\"dropdown d-inline-block\">
  708.           <button type=\"button\" class=\"btn header-item me-2\">
  709.             <a href=\"{{ path('app_company_my', { id: app.user.company.id }) }}\">
  710.               <i data-feather=\"settings\" class=\"icon-lg\"></i>
  711.             </a>
  712.           </button>
  713.         </div>
  714.         {% include 'app/_partials/user-actions.html.twig' %}
  715.       </div>
  716.     </div>
  717.   </header>
  718.   <div class=\"vertical-menu\">
  719.     <div data-simplebar class=\"h-100\">
  720.       {% include 'app/_partials/sidebar-menu.html.twig' %}
  721.     </div>
  722.   </div>
  723.   <div class=\"main-content\">
  724.     <div class=\"page-content\">
  725.       {% if not app.user.isVerified %}
  726.       <div class=\"row\">
  727.         <div class=\"col-xl-12\">
  728.           <div
  729.             class=\"alert alert-danger alert-dismissible alert-label-icon label-arrow fade show\"
  730.             role=\"alert\"
  731.           >
  732.             <i class=\"mdi mdi-alert-outline label-icon\"></i
  733.             ><strong> {% trans %}Confirmez votre email{% endtrans %}!</strong>
  734.             <a href=\"{{ path('app_confirm_email') }}\" class=\"alert-link\"
  735.               >{% trans %} Renvoyer{% endtrans %}!</a
  736.             >
  737.           </div>
  738.         </div>
  739.       </div>
  740.       {% endif %}
  741.       <div class=\"container-fluid\">{% block content %}{% endblock %}</div>
  742.     </div>
  743.     {% include 'app/_partials/footer.html.twig' %}
  744.   </div>
  745. </div>
  746. {% include \"app/_partials/flashes.html.twig\" %}
  747. <div class=\"rightbar-overlay\"></div>
  748. {% endblock %}
  749. ""app/index.html.twig""/var/www/clevernursery.com/templates/app/index.html.twig");
  750.     }
  751. }