@php $context = app(\App\Support\Tenancy\Tenancy::class)->context(); $navigation = app(\App\Support\Ui\Navigation::class)->for(auth()->user()); @endphp @if ($context?->impersonated)
Support session on {{ $context->name }}{{ $context->impersonationWritable ? '' : ' — read only' }}. Everything done here is logged to this organisation's audit trail.
@csrf
@endif
@if ($context?->isRestricted())
This organisation is {{ str_replace('_', ' ', $context->status) }}. You can still reach billing, your account and exports. Update billing to restore full access.
@endif @if (session('status'))
{{ session('status') }}
@endif @if (session('warning'))
{{ session('warning') }}
@endif @if ($errors->any() && ! $errors->hasBag('default')) @endif @yield('content')