@php $tenantContext = app(\App\Services\TenantContext::class); $activeTenant = $tenantContext->has() ? $tenantContext->get() : null; $moduleManager = app(\App\Services\ModuleManager::class); @endphp @yield('title', config('app.name')) @stack('styles')
@if($activeTenant) {{ $activeTenant->name }} · {{ $activeTenant->slug }} @endif
@if(auth()->user()->tenants()->wherePivot('status', 'active')->count() > 1)
@csrf
@endif
@csrf
@include('partials.alerts') @yield('content')
@stack('scripts')