@props(['trader', 'pendingRequests'])
@csrf

Manage pending requests

Review and select the clients to accept. This action is irreversible, and selected clients will gain access to copy the expert trader. Proceed only once you're sure.

Requesting clients

@if ($pendingRequests->isEmpty())

No pending requests for this trader.

@else
    @foreach ($pendingRequests as $request) @php $checkboxId = 'pending-request-'.$request->id; $isChecked = in_array( (string) $request->id, array_map('strval', old('request_ids', $pendingRequests->pluck('id')->all())), true ); @endphp
  • @endforeach
@endif @error('request_ids')

{{ $message }}

@enderror @error('request_ids.*')

{{ $message }}

@enderror