<?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;
/* Global/header.html.twig */
class __TwigTemplate_0c39b23ed971b2765f8d18738ca6a8f9cc8aa73f639e42c5ef705cfce8b57795 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "Global/header.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Global/header.html.twig"));
// line 1
yield "<!-- start: header -->
<header class=\"header\">
<div class=\"logo-container\">
<a href=\"../4.0.0\" class=\"logo\">
<img src=\"";
// line 5
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "html", null, true);
yield "\" width=\"75\" height=\"35\" alt=\"Porto Admin\" />
</a>
<div class=\"d-md-none toggle-sidebar-left\" data-toggle-class=\"sidebar-left-opened\" data-target=\"html\" data-fire-event=\"sidebar-left-opened\">
<i class=\"fas fa-bars\" aria-label=\"Toggle sidebar\"></i>
</div>
</div>
<!-- start: search & user box -->
<div class=\"header-right\">
<span class=\"separator\"></span>
\t\t";
// line 15
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 16
yield " <ul class=\"notifications\">
<li>
<a href=\"#\" class=\"dropdown-toggle notification-icon\" data-bs-toggle=\"dropdown\">
<i class=\"bx bx-list-ol\"></i>
<span class=\"badge\">3</span>
</a>
<div class=\"dropdown-menu notification-menu large\">
<div class=\"notification-title\">
<span class=\"float-end badge badge-default\">3</span>
Prestation
</div>
<div class=\"content\">
<ul>
<li>
<p class=\"clearfix mb-1\">
<span class=\"message float-start\">Prestation Payée</span>
";
// line 32
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 32, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 32), 0))) {
// line 33
yield " <span class=\"message float-end text-dark\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatNumber(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 33, $this->source); })()), "getSumPrestation", [["etat" => "Payer"]], "method", false, false, false, 33) / 1) * 100), array(), "percent"), "html", null, true);
yield "</span>
";
} else {
// line 36
yield " <span class=\"message float-end text-dark\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatNumber(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 36, $this->source); })()), "getSumPrestation", [["etat" => "Payer"]], "method", false, false, false, 36) / CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 36, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 36)) * 100), array(), "percent"), "html", null, true);
yield "</span>
";
}
// line 38
yield " </p>
<div class=\"progress progress-xs light\">
";
// line 40
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 40, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 40), 0))) {
// line 41
yield " <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 41, $this->source); })()), "getSumPrestation", [["etat" => "Payer"]], "method", false, false, false, 41) / 1) * 100), "html", null, true);
yield "%;\"></div>
";
} else {
// line 43
yield " <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 43, $this->source); })()), "getSumPrestation", [["etat" => "Payer"]], "method", false, false, false, 43) / CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 43, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 43)) * 100), "html", null, true);
yield "%;\"></div>
";
}
// line 46
yield " </div>
</li>
<li>
<p class=\"clearfix mb-1\">
<span class=\"message float-start\">Prestation validée</span>
";
// line 51
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 51, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 51), 0))) {
// line 52
yield " <span class=\"message float-end text-dark\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatNumber(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 52, $this->source); })()), "getSumPrestation", [["etat" => "Valider"]], "method", false, false, false, 52) / 1) * 100), array(), "percent"), "html", null, true);
yield "</span>
";
} else {
// line 55
yield " <span class=\"message float-end text-dark\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatNumber(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 55, $this->source); })()), "getSumPrestation", [["etat" => "Valider"]], "method", false, false, false, 55) / CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 55, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 55)) * 100), array(), "percent"), "html", null, true);
yield "</span>
";
}
// line 56
yield " </p>
<div class=\"progress progress-xs light\">
";
// line 58
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 58, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 58), 0))) {
// line 59
yield " <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 59, $this->source); })()), "getSumPrestation", [["etat" => "Valider"]], "method", false, false, false, 59) / 1) * 100), "html", null, true);
yield "%;\"></div>
";
} else {
// line 61
yield " <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 61, $this->source); })()), "getSumPrestation", [["etat" => "Valider"]], "method", false, false, false, 61) / CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 61, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 61)) * 100), "html", null, true);
yield "%;\"></div>
";
}
// line 63
yield " </div>
</li>
<li>
<p class=\"clearfix mb-1\">
<span class=\"message float-start\">Prestation en cour</span>
";
// line 68
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 68, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 68), 0))) {
// line 69
yield " <span class=\"message float-end text-dark\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatNumber(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 69, $this->source); })()), "getSumPrestation", [["etat" => "cour"]], "method", false, false, false, 69) / 1) * 100), array(), "percent"), "html", null, true);
yield "</span>
";
} else {
// line 72
yield " <span class=\"message float-end text-dark\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extra\Intl\IntlExtension']->formatNumber(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 72, $this->source); })()), "getSumPrestation", [["etat" => "cour"]], "method", false, false, false, 72) / CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 72, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 72)) * 100), array(), "percent"), "html", null, true);
yield "</span>
";
}
// line 73
yield " </p>
<div class=\"progress progress-xs light mb-1\">
";
// line 75
if ((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 75, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 75), 0))) {
// line 76
yield " <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 76, $this->source); })()), "getSumPrestation", [["etat" => "cour"]], "method", false, false, false, 76) / 1) * 100), "html", null, true);
yield "%;\"></div>
";
} else {
// line 78
yield " <div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 78, $this->source); })()), "getSumPrestation", [["etat" => "cour"]], "method", false, false, false, 78) / CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 78, $this->source); })()), "getSumPrestation", [["etat" => "Total"]], "method", false, false, false, 78)) * 100), "html", null, true);
yield "%;\"></div>
";
}
// line 80
yield " </div>
</li>
</ul>
</div>
</div>
</li>
</ul>
\t\t";
}
// line 90
yield " <span class=\"separator\"></span>
<div id=\"userbox\" class=\"userbox\">
<a href=\"#\" data-bs-toggle=\"dropdown\">
<figure class=\"profile-picture\">
<img src=\"";
// line 94
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logged-user.jpg"), "html", null, true);
yield "\" alt=\"Joseph Doe\" class=\"rounded-circle\" data-lock-picture=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logged-user.jpg"), "html", null, true);
yield "\" />
</figure>
<div class=\"profile-info\" data-lock-name=\"John Doe\" data-lock-email=\"johndoe@okler.com\">
<span class=\"name\">";
// line 97
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["services"]) || array_key_exists("services", $context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.', 97, $this->source); })()), "getUser", [], "method", false, false, false, 97), "username", [], "any", false, false, false, 97), "html", null, true);
yield "</span>
";
// line 98
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 99
yield " <span class=\"role\">Administrateur</span>
";
} else {
// line 101
yield " <span class=\"role\">Adhérent</span>
";
}
// line 103
yield " </div>
<i class=\"fa custom-caret\"></i>
</a>
<div class=\"dropdown-menu\">
<ul class=\"list-unstyled mb-2\">
<li class=\"divider\"></li>
<li>
<a role=\"menuitem\" tabindex=\"-1\" href=\"";
// line 111
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_user");
yield "\"><i class=\"bx bx-user-circle\"></i> My Profile</a>
</li>
<li>
<a role=\"menuitem\" tabindex=\"-1\" href=\"";
// line 115
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
yield "\"><i class=\"bx bx-power-off\"></i> Logout</a>
</li>
</ul>
</div>
</div>
</div>
<!-- end: search & user box -->
</header>
<!-- end: header -->";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "Global/header.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 256 => 115, 249 => 111, 239 => 103, 235 => 101, 231 => 99, 229 => 98, 225 => 97, 217 => 94, 211 => 90, 199 => 80, 192 => 78, 186 => 76, 184 => 75, 180 => 73, 174 => 72, 167 => 69, 165 => 68, 158 => 63, 151 => 61, 145 => 59, 143 => 58, 139 => 56, 133 => 55, 126 => 52, 124 => 51, 117 => 46, 110 => 43, 104 => 41, 102 => 40, 98 => 38, 92 => 36, 85 => 33, 83 => 32, 65 => 16, 63 => 15, 50 => 5, 44 => 1,);
}
public function getSourceContext()
{
return new Source("<!-- start: header -->
<header class=\"header\">
<div class=\"logo-container\">
<a href=\"../4.0.0\" class=\"logo\">
<img src=\"{{ asset('build/images/logo.png')}}\" width=\"75\" height=\"35\" alt=\"Porto Admin\" />
</a>
<div class=\"d-md-none toggle-sidebar-left\" data-toggle-class=\"sidebar-left-opened\" data-target=\"html\" data-fire-event=\"sidebar-left-opened\">
<i class=\"fas fa-bars\" aria-label=\"Toggle sidebar\"></i>
</div>
</div>
<!-- start: search & user box -->
<div class=\"header-right\">
<span class=\"separator\"></span>
\t\t{% if is_granted('ROLE_ADMIN')%}
<ul class=\"notifications\">
<li>
<a href=\"#\" class=\"dropdown-toggle notification-icon\" data-bs-toggle=\"dropdown\">
<i class=\"bx bx-list-ol\"></i>
<span class=\"badge\">3</span>
</a>
<div class=\"dropdown-menu notification-menu large\">
<div class=\"notification-title\">
<span class=\"float-end badge badge-default\">3</span>
Prestation
</div>
<div class=\"content\">
<ul>
<li>
<p class=\"clearfix mb-1\">
<span class=\"message float-start\">Prestation Payée</span>
{% if services.getSumPrestation({'etat':'Total'})==0 %}
<span class=\"message float-end text-dark\">{{ ((services.getSumPrestation({'etat':'Payer'})/1)*100)|format_number(style='percent') }}</span>
{% else %}
<span class=\"message float-end text-dark\">{{ ((services.getSumPrestation({'etat':'Payer'})/services.getSumPrestation({'etat':'Total'}))*100)|format_number(style='percent') }}</span>
{% endif %}
</p>
<div class=\"progress progress-xs light\">
{% if services.getSumPrestation({'etat':'Total'})==0 %}
<div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:{{ (services.getSumPrestation({'etat':'Payer'})/1)*100 }}%;\"></div>
{% else %}
<div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:{{ (services.getSumPrestation({'etat':'Payer'})/services.getSumPrestation({'etat':'Total'}))*100 }}%;\"></div>
{% endif %}
</div>
</li>
<li>
<p class=\"clearfix mb-1\">
<span class=\"message float-start\">Prestation validée</span>
{% if services.getSumPrestation({'etat':'Total'})==0 %}
<span class=\"message float-end text-dark\">{{ ((services.getSumPrestation({'etat':'Valider'})/1)*100)|format_number(style='percent') }}</span>
{% else %}
<span class=\"message float-end text-dark\">{{ ((services.getSumPrestation({'etat':'Valider'})/services.getSumPrestation({'etat':'Total'}))*100)|format_number(style='percent') }}</span>
{% endif %} </p>
<div class=\"progress progress-xs light\">
{% if services.getSumPrestation({'etat':'Total'})==0 %}
<div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:{{ (services.getSumPrestation({'etat':'Valider'})/1)*100 }}%;\"></div>
{% else %}
<div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:{{ (services.getSumPrestation({'etat':'Valider'})/services.getSumPrestation({'etat':'Total'}))*100 }}%;\"></div>
{% endif %} </div>
</li>
<li>
<p class=\"clearfix mb-1\">
<span class=\"message float-start\">Prestation en cour</span>
{% if services.getSumPrestation({'etat':'Total'})==0 %}
<span class=\"message float-end text-dark\">{{ ((services.getSumPrestation({'etat':'cour'})/1)*100)|format_number(style='percent') }}</span>
{% else %}
<span class=\"message float-end text-dark\">{{ ((services.getSumPrestation({'etat':'cour'})/services.getSumPrestation({'etat':'Total'}))*100)|format_number(style='percent') }}</span>
{% endif %} </p>
<div class=\"progress progress-xs light mb-1\">
{% if services.getSumPrestation({'etat':'Total'})==0 %}
<div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:{{ (services.getSumPrestation({'etat':'cour'})/1)*100 }}%;\"></div>
{% else %}
<div class=\"progress-bar\" role=\"progressbar\" aria-valuenow=\"60\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width:{{ (services.getSumPrestation({'etat':'cour'})/services.getSumPrestation({'etat':'Total'}))*100 }}%;\"></div>
{% endif %} </div>
</li>
</ul>
</div>
</div>
</li>
</ul>
\t\t{% endif%}
<span class=\"separator\"></span>
<div id=\"userbox\" class=\"userbox\">
<a href=\"#\" data-bs-toggle=\"dropdown\">
<figure class=\"profile-picture\">
<img src=\"{{ asset('build/images/logged-user.jpg')}}\" alt=\"Joseph Doe\" class=\"rounded-circle\" data-lock-picture=\"{{ asset('build/images/logged-user.jpg')}}\" />
</figure>
<div class=\"profile-info\" data-lock-name=\"John Doe\" data-lock-email=\"johndoe@okler.com\">
<span class=\"name\">{{ services.getUser().username }}</span>
{% if is_granted('ROLE_ADMIN')%}
<span class=\"role\">Administrateur</span>
{% else %}
<span class=\"role\">Adhérent</span>
{% endif %}
</div>
<i class=\"fa custom-caret\"></i>
</a>
<div class=\"dropdown-menu\">
<ul class=\"list-unstyled mb-2\">
<li class=\"divider\"></li>
<li>
<a role=\"menuitem\" tabindex=\"-1\" href=\"{{ path('app_user') }}\"><i class=\"bx bx-user-circle\"></i> My Profile</a>
</li>
<li>
<a role=\"menuitem\" tabindex=\"-1\" href=\"{{ path('app_logout') }}\"><i class=\"bx bx-power-off\"></i> Logout</a>
</li>
</ul>
</div>
</div>
</div>
<!-- end: search & user box -->
</header>
<!-- end: header -->", "Global/header.html.twig", "/home/amicala/www/Amicale/templates/Global/header.html.twig");
}
}