@php /** Apartment switcher at the top of the admin menu (App\Support\CurrentProperty). */ $current = app(\App\Support\CurrentProperty::class); $property = $current->get(); @endphp @if ($property)
@if ($current->hasChoice())
@csrf @foreach ($current->options() as $id => $name) @endforeach
@else

{{ $property->name }}

@endif @can('update', $property) Einstellungen der Wohnung @endcan
@endif