<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>RDC</title>
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=0">
<link rel="stylesheet" href="/css/style.css?3" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div class="wrapper">
<div class="sidebar">
<div class="brand"><a href="{{ path('home') }}"><img src="/img/rdc-logo.svg" width="224" height="43" alt="" /></a></div>
<nav class="navbar scroll">
<ul class="navbar__list">
{% if getIdentity() and getIdentity().fullAccess %}
<li class="navbar__item {% if app.request.attributes.get('_route') starts with 'home' %}active{% endif %}">
<a href="/" class="navbar__link">
<span class="navbar__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 28c-.533 0-1-.2-1.4-.6-.4-.4-.6-.867-.6-1.4V6c0-.533.2-1 .6-1.4C5 4.2 5.467 4 6 4h20c.533 0 1 .2 1.4.6.4.4.6.867.6 1.4v20c0 .533-.2 1-.6 1.4-.4.4-.867.6-1.4.6H6zm0-2h9V6H6v20zm11 0h9V15.967h-9V26zm0-12.033h9V6h-9v7.967z"/></svg>
</span>
<span class="navbar__linktext">Главная</span>
</a>
</li>
{% endif %}
<li class="navbar__item {% if app.request.attributes.get('_route') starts with 'hubs' %}active{% endif %}">
<a href="{{ path('hubs') }}" class="navbar__link">
<span class="navbar__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.162 3.285a2 2 0 0 1 1.676 0l12 5.539A2 2 0 0 1 30 10.64V27a2 2 0 0 1-2 2h-2.764a2 2 0 0 1-.894-.211l-1.578-.79H9.236l-1.578.79a2 2 0 0 1-.894.21H4a2 2 0 0 1-2-2V10.64a2 2 0 0 1 1.162-1.815l12-5.539zM28 10.64 16 5.1 4 10.64V27h2.764l1.578-.789A2 2 0 0 1 9.236 26h13.528a2 2 0 0 1 .894.211l1.578.789H28V10.64z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 17a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v11a1 1 0 1 1-2 0V17H8v11a1 1 0 1 1-2 0V17zM9 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9 23a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-3h-3v3a1 1 0 1 1-2 0v-4z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14 23a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-3h-3v3a1 1 0 1 1-2 0v-4z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11 19a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-2h-3v2a1 1 0 1 1-2 0v-3z"/></svg>
</span>
<span class="navbar__linktext">Распределительные центры</span>
</a>
</li>
{% if getIdentity() and getIdentity().fullAccess %}
<!--li class="navbar__item">
<a href="#" class="navbar__link">
<span class="navbar__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.4 29.333c-.977 0-1.805-.338-2.483-1.016C4.24 27.639 3.9 26.81 3.9 25.833v-3.166a.971.971 0 0 1 1-1h3.234V3.533c0-.222.089-.333.266-.333.178 0 .356.089.534.267l1.2 1.2 1.633-1.634a.51.51 0 0 1 .367-.166.51.51 0 0 1 .366.166l1.6 1.634 1.634-1.634a.51.51 0 0 1 .366-.166.51.51 0 0 1 .367.166L18.1 4.667l1.634-1.634a.51.51 0 0 1 .366-.166.51.51 0 0 1 .367.166L22.1 4.667l1.634-1.634a.51.51 0 0 1 .366-.166.51.51 0 0 1 .367.166L26.1 4.667l1.2-1.2c.178-.178.356-.267.534-.267.178 0 .266.111.266.333v22.3c0 .978-.338 1.806-1.016 2.484-.678.677-1.506 1.016-2.484 1.016H7.4zm17.2-2c.445 0 .806-.138 1.084-.416.277-.278.416-.64.416-1.084V6H10.134v15.667H22.1c.29 0 .528.094.717.283a.972.972 0 0 1 .283.717v3.166c0 .445.14.806.417 1.084.278.277.639.416 1.083.416zM12.867 11.267a.906.906 0 0 1-.683-.3 1.028 1.028 0 0 1-.284-.734c0-.266.095-.494.284-.683a.971.971 0 0 1 .716-.283h6c.29 0 .528.094.717.283a.972.972 0 0 1 .283.717.972.972 0 0 1-.283.716.971.971 0 0 1-.717.284h-6.033zm0 4.466a.906.906 0 0 1-.683-.3 1.028 1.028 0 0 1-.284-.733c0-.267.095-.494.284-.683a.971.971 0 0 1 .716-.284h6c.29 0 .528.095.717.284a.972.972 0 0 1 .283.716.971.971 0 0 1-.283.717.971.971 0 0 1-.717.283h-6.033zM23 11.267a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7c0-.267.1-.5.3-.7.2-.2.434-.3.7-.3.267 0 .5.1.7.3.2.2.3.433.3.7 0 .266-.1.5-.3.7-.2.2-.433.3-.7.3zm0 4.3a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7c0-.267.1-.5.3-.7.2-.2.434-.3.7-.3.267 0 .5.1.7.3.2.2.3.433.3.7 0 .266-.1.5-.3.7-.2.2-.433.3-.7.3zM7.367 27.333H21.1v-3.666H5.9v2.166c0 .445.14.806.417 1.084.278.277.628.416 1.05.416zm-1.467 0v-3.666 3.666z"/></svg>
</span>
<span class="navbar__linktext">Заказы</span>
</a>
</li-->
{% if getIdentity().canChat %}
<li class="navbar__item {% if app.request.attributes.get('_route') starts with 'chat' %}active{% endif %}">
<a href="{{ path('chat') }}" class="navbar__link">
<span class="navbar__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18.7h8.467a.931.931 0 0 0 .683-.283.971.971 0 0 0 .284-.717.971.971 0 0 0-.284-.717.971.971 0 0 0-.716-.283H8.967a.971.971 0 0 0-.967 1 .971.971 0 0 0 1 1zm0-4.333h14.034a.971.971 0 0 0 .967-1 .97.97 0 0 0-.284-.717.971.971 0 0 0-.717-.283H8.967a.931.931 0 0 0-.683.283.971.971 0 0 0-.284.717.971.971 0 0 0 1 1zm0-4.334h14.034a.971.971 0 0 0 .967-1 .971.971 0 0 0-.284-.716.971.971 0 0 0-.717-.284H8.967a.971.971 0 0 0-.967 1 .971.971 0 0 0 1 1zm-6.333 16.9V4.667c0-.511.2-.973.6-1.384.4-.41.867-.616 1.4-.616h22.667c.51 0 .972.205 1.383.616.411.411.617.873.617 1.384V22c0 .511-.206.972-.617 1.383-.411.411-.872.617-1.383.617H8l-3.633 3.633c-.311.311-.672.384-1.083.217-.411-.167-.617-.472-.617-.917zm2-2.433 2.5-2.5h20.167V4.667H4.667V24.5zm0-19.833V24.5 4.667z"/></svg>
</span>
<span class="navbar__linktext">Мои чаты</span>
</a>
</li>
{% endif %}
{% if getIdentity().person.employeeClassName and getIdentity().fullAccess %}
<li class="navbar__item {% if app.request.attributes.get('_route') starts with 'employees' %}active{% endif %}">
<a href="{{ path('employees') }}" class="navbar__link">
<span class="navbar__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 13a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5zm0 2a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zM21 13a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0 2a6 6 0 1 0 0-12 6 6 0 0 0 0 12z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M21 16a9 9 0 0 0-9 9v4a1 1 0 1 1-2 0v-4c0-6.075 4.925-11 11-11s11 4.925 11 11v4a1 1 0 1 1-2 0v-4a9 9 0 0 0-9-9z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M21 22a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1zM8 16a6 6 0 0 0-6 6v7a1 1 0 1 1-2 0v-7a8 8 0 0 1 14.566-4.572 1 1 0 1 1-1.64 1.144A5.992 5.992 0 0 0 8 16z"></path></svg>
</span>
<span class="navbar__linktext">Сотрудники</span>
</a>
</li>
{% endif %}
<li class="navbar__item">
<a href="{{ path('user') }}" class="navbar__link">
<span class="navbar__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 28c-.533 0-1-.2-1.4-.6-.4-.4-.6-.867-.6-1.4V6c0-.533.2-1 .6-1.4C5 4.2 5.467 4 6 4h6.9c-.044-.822.244-1.561.867-2.217C14.389 1.128 15.133.8 16 .8s1.611.328 2.233.983c.623.656.911 1.395.867 2.217H26c.533 0 1 .2 1.4.6.4.4.6.867.6 1.4v20c0 .533-.2 1-.6 1.4-.4.4-.867.6-1.4.6H6zM16 4.6a.971.971 0 0 0 .717-.283A.971.971 0 0 0 17 3.6a.971.971 0 0 0-.283-.717A.971.971 0 0 0 16 2.6a.971.971 0 0 0-.717.283A.971.971 0 0 0 15 3.6c0 .289.094.528.283.717A.971.971 0 0 0 16 4.6zM6 24.767a16.732 16.732 0 0 1 4.533-3.017c1.69-.767 3.511-1.15 5.467-1.15 1.956 0 3.778.383 5.467 1.15 1.689.767 3.2 1.772 4.533 3.017V6H6v18.767zm10.067-6.8c1.289 0 2.377-.445 3.266-1.334.89-.888 1.334-1.977 1.334-3.266 0-1.29-.445-2.378-1.334-3.267-.889-.889-1.977-1.333-3.266-1.333-1.29 0-2.378.444-3.267 1.333-.889.889-1.333 1.978-1.333 3.267s.444 2.377 1.333 3.266c.889.89 1.978 1.334 3.267 1.334zM7.833 26h16.334v-.3c-1.2-1.022-2.49-1.794-3.867-2.317A12.033 12.033 0 0 0 16 22.6c-1.489 0-2.922.261-4.3.783-1.378.523-2.667 1.295-3.867 2.317v.3zm8.234-10.033a2.502 2.502 0 0 1-1.834-.767 2.502 2.502 0 0 1-.766-1.833c0-.734.255-1.35.766-1.85a2.53 2.53 0 0 1 1.834-.75c.733 0 1.35.25 1.85.75s.75 1.116.75 1.85a2.53 2.53 0 0 1-.75 1.833c-.5.511-1.117.767-1.85.767z"/></svg>
</span>
<span class="navbar__linktext">Личный кабинет</span>
</a>
</li>
{% endif %}
</ul>
</nav>
<div class="user">
{% if getIdentity() %}
<a href="{{ path('user') }}" class="person">
<div class="person__photo">
{% if getIdentity().image %}
<img src="{{ resizeImage(getIdentity().image, 50, 50, true) }}" alt="" width="50" height="50">
{% endif %}
</div>
<div class="person__name">
{{ getIdentity().name }}
</div>
</a>
<div class="user__logout"><a href="{{ path('logout') }}">Выйти</a></div>
{% else %}
<div class="user__logout"><a href="{{ path('login') }}">Войти</a></div>
{% endif %}
</div>
</div>
<main class="{% block main_class %}main{% endblock %}">
{% block content %}
{% endblock %}
<ul class="mobile-nav">
<li class="mobile-nav__item {% if app.request.attributes.get('_route') starts with 'home' %}active{% endif %}">
<a href="{{ path('home') }}" class="mobile-nav__link">
<span class="mobile-nav__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 28c-.533 0-1-.2-1.4-.6-.4-.4-.6-.867-.6-1.4V6c0-.533.2-1 .6-1.4C5 4.2 5.467 4 6 4h20c.533 0 1 .2 1.4.6.4.4.6.867.6 1.4v20c0 .533-.2 1-.6 1.4-.4.4-.867.6-1.4.6H6zm0-2h9V6H6v20zm11 0h9V15.967h-9V26zm0-12.033h9V6h-9v7.967z"></path></svg>
</span>
<span class="mobile-nav__text">Главная</span>
</a>
</li>
<li class="mobile-nav__item {% if app.request.attributes.get('_route') starts with 'hubs' %}active{% endif %}">
<a href="{{ path('hubs') }}" class="mobile-nav__link">
<span class="mobile-nav__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.162 3.285a2 2 0 0 1 1.676 0l12 5.539A2 2 0 0 1 30 10.64V27a2 2 0 0 1-2 2h-2.764a2 2 0 0 1-.894-.211l-1.578-.79H9.236l-1.578.79a2 2 0 0 1-.894.21H4a2 2 0 0 1-2-2V10.64a2 2 0 0 1 1.162-1.815l12-5.539zM28 10.64 16 5.1 4 10.64V27h2.764l1.578-.789A2 2 0 0 1 9.236 26h13.528a2 2 0 0 1 .894.211l1.578.789H28V10.64z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M6 17a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v11a1 1 0 1 1-2 0V17H8v11a1 1 0 1 1-2 0V17zM9 12a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H10a1 1 0 0 1-1-1z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M9 23a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-3h-3v3a1 1 0 1 1-2 0v-4z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14 23a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-3h-3v3a1 1 0 1 1-2 0v-4z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11 19a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-2h-3v2a1 1 0 1 1-2 0v-3z"></path></svg>
</span>
<span class="mobile-nav__text">РЦ</span>
</a>
</li>
{% if getIdentity() and getIdentity().canChat %}
<li class="mobile-nav__item {% if app.request.attributes.get('_route') starts with 'chat' %}active{% endif %}">
<a href="{{ path('chat') }}" class="mobile-nav__link">
<span class="mobile-nav__icon">
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18.7h8.467a.931.931 0 0 0 .683-.283.971.971 0 0 0 .284-.717.971.971 0 0 0-.284-.717.971.971 0 0 0-.716-.283H8.967a.971.971 0 0 0-.967 1 .971.971 0 0 0 1 1zm0-4.333h14.034a.971.971 0 0 0 .967-1 .97.97 0 0 0-.284-.717.971.971 0 0 0-.717-.283H8.967a.931.931 0 0 0-.683.283.971.971 0 0 0-.284.717.971.971 0 0 0 1 1zm0-4.334h14.034a.971.971 0 0 0 .967-1 .971.971 0 0 0-.284-.716.971.971 0 0 0-.717-.284H8.967a.971.971 0 0 0-.967 1 .971.971 0 0 0 1 1zm-6.333 16.9V4.667c0-.511.2-.973.6-1.384.4-.41.867-.616 1.4-.616h22.667c.51 0 .972.205 1.383.616.411.411.617.873.617 1.384V22c0 .511-.206.972-.617 1.383-.411.411-.872.617-1.383.617H8l-3.633 3.633c-.311.311-.672.384-1.083.217-.411-.167-.617-.472-.617-.917zm2-2.433 2.5-2.5h20.167V4.667H4.667V24.5zm0-19.833V24.5 4.667z"></path></svg>
</span>
<span class="mobile-nav__text">Чат</span>
</a>
</li>
{% endif %}
<li class="mobile-nav__item">
<a href="#" class="mobile-nav__link a-toggle-nav">
<span class="mobile-nav__icon">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="11.625" cy="19.125" r="1.875" fill="#405464"/><circle cx="11.625" cy="12.375" r="1.875" fill="#405464"/><circle cx="11.625" cy="5.625" r="1.875" fill="#405464"/></svg>
</span>
<span class="mobile-nav__text">Еще</span>
</a>
</li>
</ul>
</main>
</div>
{% block popups %}
{% endblock %}
<div class="panel__backdrop"></div>
<link rel="stylesheet" href="/css/fancybox.css" />
<script src="/js/jquery-3.6.0.min.js"></script>
<script src="/js/fancybox.umd.js"></script>
<script src="/js/imask.min.js"></script>
<script src="/js/script.js?2"></script>
<script>
function popupAlert(text) {
new Fancybox([
{
src: text,
type: "html",
},
]);
}
function closePopup() {
$('.panel').removeClass('showen');
$('.panel__backdrop').removeClass('showen');
}
</script>
{% block scripts %}
{% endblock %}
</body>
</html>