<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>EFS portál - {% block title %}Vítejte!{% endblock %}</title>
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('styles') }}
{% endblock %}
</head>
<body>
<div id="modal" class="modal fade show" tabindex="-1" role="dialog" aria-labelledby="modal-default" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-xl" role="document">
<div class="modal-content">
<div class="modal-header border-0" >
<h1 class="h4 modal-title"></h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
</div>
<div class="modal-footer d-none">
<button type="button" class="btn btn-link text-gray ms-auto no" data-bs-dismiss="modal">Zrušit</button>
<button type="button" class="btn btn-secondary yes" >Ano</button>
</div>
</div>
</div>
</div>
<div id="loading">
<div style="color: #ffffff; margin-top: -40px;margin-left: -40px;width: 80px;height: 80px;position: fixed;left: 50%;top: 50%;z-index: 10000000000;"><i class="fa fa-spinner fa-spin fa-3x fa-fw"></i></div>
</div>
{% if app.user %}
<nav class="navbar navbar-dark navbar-theme-primary px-4 col-12 d-lg-none">
<a class="navbar-brand me-lg-5" href="{{ path('app_homepage') }}">
<img class="navbar-brand-dark" src="/assets/img/footer-logo.svg" alt="EFS GROUP"> <img class="navbar-brand-light" src="/assets/img/footer-logo.svg" alt="EFS GROUP" />
</a>
<div class="d-flex align-items-center">
<button class="navbar-toggler d-lg-none collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<nav id="sidebarMenu" class="sidebar d-lg-block bg-gray-800 text-white collapse" data-simplebar="init">
<div class="sidebar-inner px-4 pt-3 d-flex flex-column">
{% if app.user %}
<div class="user-card d-flex justify-content-between justify-content-md-center pb-4 d-lg-none">
{# <div class="d-flex align-items-center">#}
{# <div class="avatar-lg me-4">#}
{# <img src="../assets/img/team/profile-picture-3.jpg"#}
{# class="card-img-top rounded-circle border-white" alt="{{ app.user.username }}">#}
{# </div>#}
{# <div class="d-block">#}
{# <h2 class="h5 mb-3">Vítejte</h2>#}
{# <a href="{{ path('app_logout') }}"#}
{# class="btn btn-secondary btn-sm d-inline-flex align-items-center">#}
{# <svg class="icon icon-xxs me-1" fill="none" stroke="currentColor" viewBox="0 0 24 24"#}
{# xmlns="http://www.w3.org/2000/svg">#}
{# <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"#}
{# d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path>#}
{# </svg>#}
{# Odhlásit#}
{# </a>#}
{# </div>#}
{# </div>#}
{# <div class="collapse-close d-md-none">#}
{# <a href="#sidebarMenu" data-bs-toggle="collapse"#}
{# data-bs-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="true"#}
{# aria-label="Toggle navigation">#}
{# <svg class="icon icon-xs" fill="currentColor" viewBox="0 0 20 20"#}
{# xmlns="http://www.w3.org/2000/svg">#}
{# <path fill-rule="evenodd"#}
{# d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z"#}
{# clip-rule="evenodd"></path>#}
{# </svg>#}
{# </a>#}
{# </div>#}
<img src="/assets/img/footer-logo.svg"
class="card-img-top border-white" alt="EFS System">
</div>
{% endif %}
<ul class="nav flex-column pt-3 pt-md-0">
<li class="nav-item ">
<a href="{{ path('app_homepage') }}"
class="nav-link d-flex align-items-center justify-content-between">
<span>
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"><path
d="M2 10a8 8 0 018-8v8h8a8 8 0 11-16 0z"></path><path
d="M12 2.252A8.014 8.014 0 0117.748 8H12V2.252z"></path></svg>
</span>
<span class="sidebar-text">Nástěnka</span>
</span>
</a>
</li>
{% if is_granted('ROLE_COMPANY_ADMIN') or is_granted('ROLE_ADMIN') %}
<li class="nav-item {% if app.request.attributes.get( '_route' ) starts with 'app_company' %}active{% endif %}">
<a href="{{ path('app_company_group_index') }}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M2 5a2 2 0 012-2h8a2 2 0 012 2v10a2 2 0 002 2H4a2 2 0 01-2-2V5zm3 1h6v4H5V6zm6 6H5v2h6v-2z" clip-rule="evenodd"></path><path d="M15 7h1a2 2 0 012 2v5.5a1.5 1.5 0 01-3 0V7z"></path></svg>
</span>
<span class="sidebar-text">Skupiny</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_COMPANY_ADMIN') or is_granted('ROLE_ADMIN') %}
<li class="nav-item {% if app.request.attributes.get( '_route' ) starts with 'app_product' %}active{% endif %}">
<a href="{{ path('app_product_index') }}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 3a2 2 0 100 4h12a2 2 0 100-4H4z"></path><path fill-rule="evenodd" d="M3 8h14v7a2 2 0 01-2 2H5a2 2 0 01-2-2V8zm5 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z" clip-rule="evenodd"></path></svg>
</span>
<span class="sidebar-text">Produkty</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_MERCHANT') %}
<li class="nav-item {% if app.request.attributes.get( '_route' ) starts with 'app_eshop_index' %}active{% endif %}">
<a href="{{ path('app_eshop_index') }}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M3.5 2.75a.75.75 0 00-1.5 0v14.5a.75.75 0 001.5 0v-4.392l1.657-.348a6.449 6.449 0 014.271.572 7.948 7.948 0 005.965.524l2.078-.64A.75.75 0 0018 12.25v-8.5a.75.75 0 00-.904-.734l-2.38.501a7.25 7.25 0 01-4.186-.363l-.502-.2a8.75 8.75 0 00-5.053-.439l-1.475.31V2.75z"></path>
</svg>
</span>
<span class="sidebar-text">Investiční kovy</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_COMPANY_USER') or is_granted('ROLE_ADMIN') or is_granted("ROLE_MERCHANT") %}
<li class="nav-item {% if app.request.attributes.get( '_route' ) starts with 'app_order' %}active{% endif %}">
<a href="{{ path('app_order_index') }}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9 2a1 1 0 000 2h2a1 1 0 100-2H9z"></path><path fill-rule="evenodd" d="M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm3 4a1 1 0 000 2h.01a1 1 0 100-2H7zm3 0a1 1 0 000 2h3a1 1 0 100-2h-3zm-3 4a1 1 0 100 2h.01a1 1 0 100-2H7zm3 0a1 1 0 100 2h3a1 1 0 100-2h-3z" clip-rule="evenodd"></path></svg>
</span>
<span class="sidebar-text">Objednávky</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_COMPANY_USER') or is_granted("ROLE_MERCHANT") %}
<li class="nav-item {% if app.request.attributes.get( '_route' ) starts with 'app_users' %}active{% endif %}">
<a href="{{ path('app_users')}}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path
d="M9 6a3 3 0 11-6 0 3 3 0 016 0zM17 6a3 3 0 11-6 0 3 3 0 016 0zM12.93 17c.046-.327.07-.66.07-1a6.97 6.97 0 00-1.5-4.33A5 5 0 0119 16v1h-6.07zM6 11a5 5 0 015 5v1H1v-1a5 5 0 015-5z"></path></svg>
</span>
<span class="sidebar-text">Uživatelé</span>
</a>
</li>
{% endif %}
{% if is_granted('ROLE_COMPANY_ADMIN') or is_granted('ROLE_ADMIN') %}
<li class="nav-item">
<span class="nav-link {% if app.request.attributes.get( '_route' ) starts with not 'app_company' %}collapsed{% endif %} d-flex justify-content-between align-items-center" data-bs-toggle="collapse" data-bs-target="#reporting-app">
<span>
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</span>
<span class="sidebar-text">Reporting</span>
</span>
<span class="link-arrow">
<svg class="icon icon-sm" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"></path></svg>
</span>
</span>
<div class="multi-level collapse " role="list" id="reporting-app" aria-expanded="false">
<ul class="flex-column nav">
<li class="nav-item ">
<a href="{{ path('app_reporting_index') }}" class="nav-link">
<span class="sidebar-text-contracted">D</span>
<span class="sidebar-text">Výplata výnosů<br/>(dluhopisy)</span>
</a>
</li>
</ul>
</div>
</li>
{% endif %}
{% if is_granted('ROLE_ADMIN') or is_granted('ROLE_MERCHANT') %}
<li class="nav-item {% if app.request.attributes.get( '_route' ) starts with 'app_index_calendar' %}active{% endif %}">
<a href="{{ path('app_index_calendar') }}" class="nav-link">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" data-slot="icon" fill="none" stroke-width="1.5" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"></path>
</svg>
</span>
<span class="sidebar-text">Kalendář akcí</span>
</a>
</li>
{% endif %}
<li role="separator" class="dropdown-divider mt-4 mb-3 border-gray-700"></li>
</ul>
<ul class="nav flex-column pt-3 pt-md-0 mt-auto mb-3">
<li class="nav-item">
<a href="{{ path('app_index_kontakty') }}" target="_blank" class="nav-link d-flex align-items-center ajax" data-modal="show">
<span class="sidebar-icon">
<svg class="icon icon-xs me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>
</span>
<span class="sidebar-text">Kontakty</span>
</a>
</li>
</ul>
</div>
</nav>
{% endif %}
<main class="{% if app.user %}content{% endif %}" data-controller="app-common">
{% if app.user %}
<nav class="navbar navbar-top navbar-expand navbar-dashboard navbar-dark ps-0 pe-2 pb-0">
<div class="container-fluid px-0">
<div class="d-flex justify-content-between w-100" id="navbarSupportedContent">
<div class="d-flex align-items-center">
<button id="sidebar-toggle" class="sidebar-toggle me-3 btn btn-icon-only d-none d-lg-inline-block align-items-center justify-content-center">
<svg class="toggle-icon" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd"></path></svg>
</button>
</div>
<!-- Navbar links -->
<ul class="navbar-nav align-items-center" id="nav-block">
<li class="nav-item dropdown">
<a href="{{ path("app_basket_step_1") }}" class="nav-link text-dark notification-bell dropdown-toggle pricing-reload" id="p-nav-total" role="button" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">
<svg class="icon icon-sm text-gray-900" style="margin-top: -6px" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M1 1.75A.75.75 0 011.75 1h1.628a1.75 1.75 0 011.734 1.51L5.18 3a65.25 65.25 0 0113.36 1.412.75.75 0 01.58.875 48.645 48.645 0 01-1.618 6.2.75.75 0 01-.712.513H6a2.503 2.503 0 00-2.292 1.5H17.25a.75.75 0 010 1.5H2.76a.75.75 0 01-.748-.807 4.002 4.002 0 012.716-3.486L3.626 2.716a.25.25 0 00-.248-.216H1.75A.75.75 0 011 1.75zM6 17.5a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM15.5 19a1.5 1.5 0 100-3 1.5 1.5 0 000 3z"></path>
</svg>
({{ basket.totalInclVat|number_format(2, ',', ' ')|raw }} Kč)
</a>
<div class="dropdown-menu dropdown-menu-lg dropdown-menu-center mt-2 py-0">
<div class="list-group list-group-flush">
<a href="{{ path("app_basket_step_1") }}" class="dropdown-item text-center fw-bold rounded-bottom py-3">
<strong>Nákupní košík</strong>
</a>
{% for item in basket.items(true) %}
<a href="#" class="list-group-item list-group-item-action border-bottom">
<div class="row align-items-center">
<div class="col-auto">
{% if item.entity.photos|length > 0 %}
<img src="{{ item.entity.primaryPhoto.url }}" class="avatar-md rounded" alt="{{ item.entity.name }}">
{% endif %}
</div>
<div class="col ps-0 ms-2 pricing-reload" id="p-nav-{{ item.entity.id }}-line">
<div class="d-flex justify-content-between align-items-center">
<div>
<small>{{ item.count }}x {{ item.entity.name }}</small>
</div>
<div class="text-end">
<small class="fw-bold">{{ item.entity|priceExclVat|number_format(2, ',', ' ')|raw }} Kč</small>
</div>
</div>
</div>
</div>
</a>
{% else %}
<a href="#" class="list-group-item list-group-item-action border-bottom">Jsem tak prázdný!</a>
{% endfor %}
<div class="list-group list-group-flush text-center pt-3 pricing-reload" id="p-nav-total">
<small>CELKEM s DPH</small>
<h5>{{ basket.totalInclVat|number_format(2, ',', ' ')|raw }} Kč</h5>
</div>
<a href="{{ path("app_basket_step_1") }}" class="dropdown-item text-center fw-bold rounded-bottom py-3">
<svg class="icon icon-xxs text-gray-400 me-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 12a2 2 0 100-4 2 2 0 000 4z"></path><path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd"></path></svg>
Zobrazit přehled objednávky
</a>
</div>
</div>
</li>
<li class="nav-item dropdown">
{# <a class="nav-link text-dark notification-bell unread dropdown-toggle" data-unread-notifications="true" href="#" role="button" data-bs-toggle="dropdown" data-bs-display="static" aria-expanded="false">#}
{# <svg class="icon icon-sm text-gray-900" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a6 6 0 00-6 6v3.586l-.707.707A1 1 0 004 14h12a1 1 0 00.707-1.707L16 11.586V8a6 6 0 00-6-6zM10 18a3 3 0 01-3-3h6a3 3 0 01-3 3z"></path></svg>#}
{# </a>#}
{# <div class="dropdown-menu dropdown-menu-lg dropdown-menu-center mt-2 py-0">#}
{# <div class="list-group list-group-flush">#}
{# <a href="#" class="text-center text-primary fw-bold border-bottom border-light py-3">Notifications</a>#}
{# <a href="../pages/calendar.html" class="list-group-item list-group-item-action border-bottom">#}
{# <div class="row align-items-center">#}
{# <div class="col-auto">#}
{# <!-- Avatar -->#}
{# <img alt="Image placeholder" src="../assets/img/team/profile-picture-1.jpg" class="avatar-md rounded">#}
{# </div>#}
{# <div class="col ps-0 ms-2">#}
{# <div class="d-flex justify-content-between align-items-center">#}
{# <div>#}
{# <h4 class="h6 mb-0 text-small">Jose Leos</h4>#}
{# </div>#}
{# <div class="text-end">#}
{# <small class="text-danger">a few moments ago</small>#}
{# </div>#}
{# </div>#}
{# <p class="font-small mt-1 mb-0">Added you to an event "Project stand-up" tomorrow at 12:30 AM.</p>#}
{# </div>#}
{# </div>#}
{# </a>#}
{# <a href="../pages/tasks.html" class="list-group-item list-group-item-action border-bottom">#}
{# <div class="row align-items-center">#}
{# <div class="col-auto">#}
{# <!-- Avatar -->#}
{# <img alt="Image placeholder" src="../assets/img/team/profile-picture-2.jpg" class="avatar-md rounded">#}
{# </div>#}
{# <div class="col ps-0 ms-2">#}
{# <div class="d-flex justify-content-between align-items-center">#}
{# <div>#}
{# <h4 class="h6 mb-0 text-small">Neil Sims</h4>#}
{# </div>#}
{# <div class="text-end">#}
{# <small class="text-danger">2 hrs ago</small>#}
{# </div>#}
{# </div>#}
{# <p class="font-small mt-1 mb-0">You've been assigned a task for "Awesome new project".</p>#}
{# </div>#}
{# </div>#}
{# </a>#}
{# <a href="../pages/tasks.html" class="list-group-item list-group-item-action border-bottom">#}
{# <div class="row align-items-center">#}
{# <div class="col-auto">#}
{# <!-- Avatar -->#}
{# <img alt="Image placeholder" src="../assets/img/team/profile-picture-3.jpg" class="avatar-md rounded">#}
{# </div>#}
{# <div class="col ps-0 m-2">#}
{# <div class="d-flex justify-content-between align-items-center">#}
{# <div>#}
{# <h4 class="h6 mb-0 text-small">Roberta Casas</h4>#}
{# </div>#}
{# <div class="text-end">#}
{# <small>5 hrs ago</small>#}
{# </div>#}
{# </div>#}
{# <p class="font-small mt-1 mb-0">Tagged you in a document called "Financial plans",</p>#}
{# </div>#}
{# </div>#}
{# </a>#}
{# <a href="../pages/single-message.html" class="list-group-item list-group-item-action border-bottom">#}
{# <div class="row align-items-center">#}
{# <div class="col-auto">#}
{# <!-- Avatar -->#}
{# <img alt="Image placeholder" src="../assets/img/team/profile-picture-4.jpg" class="avatar-md rounded">#}
{# </div>#}
{# <div class="col ps-0 ms-2">#}
{# <div class="d-flex justify-content-between align-items-center">#}
{# <div>#}
{# <h4 class="h6 mb-0 text-small">Joseph Garth</h4>#}
{# </div>#}
{# <div class="text-end">#}
{# <small>1 d ago</small>#}
{# </div>#}
{# </div>#}
{# <p class="font-small mt-1 mb-0">New message: "Hey, what's up? All set for the presentation?"</p>#}
{# </div>#}
{# </div>#}
{# </a>#}
{# <a href="../pages/single-message.html" class="list-group-item list-group-item-action border-bottom">#}
{# <div class="row align-items-center">#}
{# <div class="col-auto">#}
{# <!-- Avatar -->#}
{# <img alt="Image placeholder" src="../assets/img/team/profile-picture-5.jpg" class="avatar-md rounded">#}
{# </div>#}
{# <div class="col ps-0 ms-2">#}
{# <div class="d-flex justify-content-between align-items-center">#}
{# <div>#}
{# <h4 class="h6 mb-0 text-small">Bonnie Green</h4>#}
{# </div>#}
{# <div class="text-end">#}
{# <small>2 hrs ago</small>#}
{# </div>#}
{# </div>#}
{# <p class="font-small mt-1 mb-0">New message: "We need to improve the UI/UX for the landing page."</p>#}
{# </div>#}
{# </div>#}
{# </a>#}
{# <a href="#" class="dropdown-item text-center fw-bold rounded-bottom py-3">#}
{# <svg class="icon icon-xxs text-gray-400 me-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 12a2 2 0 100-4 2 2 0 000 4z"></path><path fill-rule="evenodd" d="M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd"></path></svg>#}
{# View all#}
{# </a>#}
{# </div>#}
{# </div>#}
</li>
<li class="nav-item dropdown ms-lg-3">
<a class="nav-link dropdown-toggle pt-1 px-0" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<div class="media d-flex align-items-center">
{# <img class="avatar rounded-circle" alt="Image placeholder" src="../assets/img/team/profile-picture-3.jpg">#}
<div class="avatar d-flex align-items-center justify-content-center fw-bold rounded bg-secondary me-3"><span>{{ app.user.name|first|default('F')|upper }} {{ app.user.surname|first|default('L')|upper }}</span></div>
<div class="media-body ms-2 text-dark align-items-center d-none d-lg-block">
<span class="mb-0 font-small fw-bold text-gray-900">{{ app.user.username }}</span>
</div>
</div>
</a>
<div class="dropdown-menu dashboard-dropdown dropdown-menu-end mt-2 py-1">
<a class="dropdown-item d-flex align-items-center ajax" data-modal="show" href="{{ path('app_users_edit', {'user': app.user.id}) }}">
<svg class="dropdown-icon text-gray-400 me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path></svg>
Můj účet
</a>
<a class="dropdown-item d-flex align-items-center" href="{{ path('app_invoiceautomation_index') }}">
<svg class="dropdown-icon text-gray-400 me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path></svg>
Fakturace
</a>
{% if is_granted('ROLE_COMPANY_ADMIN', app.user) and not is_granted('ROLE_ADMIN', app.user) %}
<a class="dropdown-item d-flex align-items-center ajax" data-modal="show" href="{{ path('app_company_group_edit', {'company': app.user.company.id }) }}">
<svg class="dropdown-icon text-gray-400 me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 01.947 2.287c-.836 1.372.734 2.942 2.106 2.106a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z" clip-rule="evenodd"></path></svg>
Nastavení
</a>
{% endif %}
<a class="dropdown-item d-flex align-items-center ajax" data-modal="show" href="{{ path('app_index_kontakty') }}">
<svg class="dropdown-icon text-gray-400 me-2" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-2 0c0 .993-.241 1.929-.668 2.754l-1.524-1.525a3.997 3.997 0 00.078-2.183l1.562-1.562C15.802 8.249 16 9.1 16 10zm-5.165 3.913l1.58 1.58A5.98 5.98 0 0110 16a5.976 5.976 0 01-2.516-.552l1.562-1.562a4.006 4.006 0 001.789.027zm-4.677-2.796a4.002 4.002 0 01-.041-2.08l-.08.08-1.53-1.533A5.98 5.98 0 004 10c0 .954.223 1.856.619 2.657l1.54-1.54zm1.088-6.45A5.974 5.974 0 0110 4c.954 0 1.856.223 2.657.619l-1.54 1.54a4.002 4.002 0 00-2.346.033L7.246 4.668zM12 10a2 2 0 11-4 0 2 2 0 014 0z" clip-rule="evenodd"></path></svg>
Pomoc
</a>
<div role="separator" class="dropdown-divider my-1"></div>
<a href="{{ path('app_logout') }}" class="dropdown-item d-flex align-items-center">
<svg class="dropdown-icon text-danger me-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"></path></svg>
Odhlásit
</a>
</div>
</li>
</ul>
</div>
</div>
</nav>
{% endif %}
{% block body %}{% endblock %}
</main>
{% block javascripts %}
<script type="text/html" id="modal-added">
<div class="modal fade" id="modal2" tabindex="-1" role="dialog" aria-labelledby="modal2" style="display: none;" aria-hidden="true">
<div class="modal-dialog modal-info modal-dialog-centered" role="document">
<div class="modal-content bg-gradient-secondary">
<button type="button" class="btn-close theme-settings-close fs-6 ms-auto" data-bs-dismiss="modal" aria-label="Close"></button>
<div class="modal-body text-white">
<div class="pt-3 text-center">
<span class="modal-icon">
<svg class="icon icon-xl text-gray-200" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path d="M1 8.25a1.25 1.25 0 112.5 0v7.5a1.25 1.25 0 11-2.5 0v-7.5zM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0114 3c0 .995-.182 1.948-.514 2.826-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 01-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 01-1.341-.317l-2.734-1.366A3 3 0 006.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 012.166-1.73c.432-.143.853-.386 1.011-.814.16-.432.248-.9.248-1.388z"></path>
</svg>
</span>
<h2 class="h4 modal-title my-3">Zboží bylo přidáno do košíku!</h2>
<p>Přejete si pokračovat v nákupu nebo přejít k objednávce?</p>
</div>
</div>
<div class="modal-footer" style="justify-content: center;">
<button type="button" class="btn btn-sm btn-white" data-bs-dismiss="modal">Pokračovat v nákupu</button>
<a href="{{ path("app_basket_step_1") }}" class="btn btn-sm btn-primary" >Přejít k objednávce</a>
</div>
</div>
</div>
</div>
</script>
<!-- Core -->
<script src="/vendor/@popperjs/core/dist/umd/popper.min.js"></script>
<script src="/vendor/bootstrap/dist/js/bootstrap.js"></script>
<!-- Vendor JS -->
<script src="/vendor/onscreen/dist/on-screen.umd.min.js"></script>
<!-- Slider -->
<script src="/vendor/nouislider/distribute/nouislider.min.js"></script>
<!-- Smooth scroll -->
<script src="/vendor/smooth-scroll/dist/smooth-scroll.polyfills.min.js"></script>
<!-- Count up -->
<script src="/vendor/countup.js/dist/countUp.umd.js"></script>
<!-- Apex Charts -->
<script src="/vendor/apexcharts/dist/apexcharts.min.js"></script>
<!-- Datepicker -->
<script src="/vendor/vanillajs-datepicker/dist/js/datepicker.min.js"></script>
<!-- DataTables -->
<script src="/vendor/simple-datatables/dist/umd/simple-datatables.js"></script>
<!-- Sweet Alerts 2 -->
<script src="/vendor/sweetalert2/dist/sweetalert2.min.js"></script>
<!-- Moment JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.27.0/moment.min.js"></script>
<!-- Vanilla JS Datepicker -->
<script src="/vendor/vanillajs-datepicker/dist/js/datepicker.min.js"></script>
<!-- Full Calendar -->
<script src="/vendor/fullcalendar/main.min.js"></script>
<!-- Dropzone -->
<script src="/vendor/dropzone/dist/min/dropzone.min.js"></script>
<!-- Choices.js -->
<script src="/vendor/choices.js/public/assets/scripts/choices.min.js"></script>
<!-- Notyf -->
<script src="/vendor/notyf/notyf.min.js"></script>
<!-- Mapbox & Leaflet.js -->
<script src="/vendor/leaflet/dist/leaflet.js"></script>
<!-- SVG Map -->
<script src="/vendor/svg-pan-zoom/dist/svg-pan-zoom.min.js"></script>
<script src="/vendor/svgmap/dist/svgMap.min.js"></script>
<!-- Simplebar -->
<script src="/vendor/simplebar/dist/simplebar.min.js"></script>
<!-- Sortable Js -->
<script src="/vendor/sortablejs/Sortable.min.js"></script>
<!-- Github buttons -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
{% if app.user %}
<script src="/js/sidebar-toggle.js"></script>
{% endif %}
{# <script src="/vendor/bootstrap/dist/js/bootstrap.bundle.min.js"></script>#}
<!-- Volt JS -->
<script src="/js/volt.js"></script>
{{ encore_entry_script_tags('app') }}
{% endblock %}
{% block js %}{% endblock %}
</body>
</html>