@php $canManageBranches = app(\App\Services\Frontdesk\FrontdeskPermissions::class)->can( auth()->user() ? app(\App\Services\Frontdesk\OrganizationResolver::class)->memberFor(auth()->user(), $organization) : null, 'admin.branches.manage' ); @endphp
← Settings @if ($canManageBranches) Add branch @endif

All branches

@forelse ($branches as $branch)

{{ $branch->name }}

{{ $branch->address ?? 'No address' }} · {{ $branch->buildings_count }} building(s)

Buildings Edit
@empty

No branches yet.

@endforelse