@php $canManageBranches = app(\App\Services\Qms\QmsPermissions::class)->can( app(\App\Services\Qms\OrganizationResolver::class)->memberFor(auth()->user()), 'admin.branches.manage' ); @endphp
@if ($canManageBranches) New branch @endif @include('partials.flash')
@foreach ($branches as $branch) @endforeach
Name Code Departments Status
{{ $branch->name }} {{ $branch->code ?? '—' }} {{ $branch->departments_count }} {{ $branch->is_active ? 'Active' : 'Inactive' }} Edit