@php $user = auth()->user(); $userTenants = $user ? $user->tenants()->get() : collect(); @endphp {{ auth()->user()->name }} @if($userTenants->isNotEmpty()) Empresas @foreach($userTenants as $tenant) {{ $tenant->name }} @csrf @endforeach @endif @if(auth()->check() && (auth()->user()->type ?? null) === 'master') Config Master @endif Log Out @csrf