@extends('layout')@section('c')

Manpower requests

Requests sent by employers — assign candidates to fill each one

@foreach($rows as $x)@endforeach @if(!$rows->count())@endif
SentEmployerTradeQtySalaryNeeded byDetailsStatus & note
{{ substr($x->created_at,0,10) }}{{ $x->employer }}{{ $x->trade }}{{ $x->quantity }}{{ $x->salary }}{{ $x->needed_by }}{{ $x->notes }}
@csrf
No requests yet.

Assign candidates to each request

@foreach($rows as $x)

{{ $x->employer }} — {{ $x->quantity }}x {{ $x->trade }}

{{ ucfirst($x->status) }}
Assigned {{ isset($assigned[$x->id]) ? count($assigned[$x->id]) : 0 }} of {{ $x->quantity }} needed @if(isset($assigned[$x->id]) && count($assigned[$x->id]) > 0) @foreach($assigned[$x->id] as $c) @endforeach
CandidateProgressStatus
{{ $c->full_name }}
{{ $c->status }}
@csrf
@else

No candidates assigned yet.

@endif
@csrf
Ctrl/Cmd-click to pick more than one. Assigning links the candidate to {{ $x->employer }} and puts them in the employer's portal.
@endforeach @if(!$rows->count())

No requests yet.

@endif @endsection