@extends('layouts.setup') @section('title', 'オペレーター管理') @section('page-title', 'オペレーター管理') @section('setup_body') @php use App\Support\OperatorPermissionCatalog; $legacyOperators = $operators->filter(fn ($op) => empty($op->login_user_id)); @endphp @if($legacyOperators->isNotEmpty())
ログイン用アカウントが未連携のオペレーターが {{ $legacyOperators->count() }} 件あります。一度削除して再追加すると、登録したメールアドレスとパスワードでログインできるようになります。
@endif
オペレーター一覧
@if($operators->isEmpty())

オペレーターが登録されていません

@else
@foreach($operators as $op) @endforeach
名前メールアドレス権限ステータス
{{ $op->name }} {{ $op->email }}
@forelse(OperatorPermissionCatalog::activeLabels($op) as $label) {{ $label }} @empty なし @endforelse
@if(empty($op->login_user_id)) 要再登録 @else {{ $op->status === 'active' ? '有効' : '無効' }} @endif
@if($op->login_user_id) @endif
@csrf @method('DELETE')
@endif
@endsection @push('scripts') @endpush