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

Manpower requests

Tell the agency what workers you need, and see who has been assigned

New request

@csrf
@foreach($rows as $x)@php $as=$assigned[$x->id]??collect(); @endphp

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

{{ ucfirst($x->status) }}
Sent {{ substr($x->created_at,0,10) }}@if($x->salary) · {{ $x->salary }}@endif @if($x->needed_by) · needed by {{ $x->needed_by }}@endif @if($x->notes)

{{ $x->notes }}

@endif @if($x->admin_note)

Agency note: {{ $x->admin_note }}

@endif @if($as->count())@foreach($as as $c)@php $pct=$reqStages?round($c->done_n*100/$reqStages):0; @endphp @endforeach
Candidate assignedProgressStatus
{{ $c->full_name }}
{{ $c->status }}
@else

No candidate assigned to this request yet.

@endif
@endforeach @if(!$rows->count())

You haven't sent any requests yet.

@endif @endsection