@php $statusGroups = $members->groupBy('status'); @endphp
@if (session('status')) {{ session('status') }} @endif 활성 {{ $statusGroups->get('active', collect())->count() }} 비활성 {{ $statusGroups->get('inactive', collect())->count() }} 정지 {{ $statusGroups->get('suspended', collect())->count() }} @if ($members->isEmpty()) @else
@foreach ($members as $member)
@csrf @method('PATCH')
{{ $member->name }}
{{ $member->email }}
{{ $member->role }} {{ $member->status }}
@foreach ($teams as $team) @endforeach
@if ($member->status === 'suspended')
정지 현재 정지 상태입니다.
@endif
저장
@endforeach
@endif
@push('scripts') @endpush