@include('partials.pwa-head') @yield('title', 'Кабинет продавца — teeu') @vite(['resources/css/app.css', 'resources/js/app.js']) @include('partials.site-head-meta') @include('partials.impersonation-bar') @php($sellerContext = app(\App\Services\Seller\SellerContext::class)) @php($activeSeller = $sellerContext->current()) @php($stores = $sellerContext->all()) {{-- Reviews still awaiting a reply — a nudge badge in the sidebar. --}} @php($unansweredReviews = $activeSeller ? $activeSeller->reviews()->approved()->whereNull('seller_reply')->whereNull('seller_reply_pending')->count() : 0)
{{-- Dark sidebar (design kit §06) --}} {{-- Content --}}
{{-- Store switcher: one user can operate several stores (ТЗ §4). --}}
@foreach ($stores as $store)
@csrf
@endforeach Добавить магазин
@csrf
@if (session('status'))
{{ session('status') }}
@endif @yield('content')
@include('partials.cookie-consent') @include('partials.terms-gate') @include('partials.site-body-scripts')