@extends('portal.portal-layout') @section('pages-content')
Back to dashboard

References

@if($refs_require_action->count() > 0)

Requires action

You will typically need to provide two referees.

@foreach ($refs_require_action as $reference)
Referee required
Action required Please complete referee form
@svg('img/icons/right-arrow', 'text-blue-500')
@endforeach @if (count($refs_require_action) < 1) No new reference form available @endif
@endif @if($refs_in_progress->count() > 0)

In progress

@foreach ($refs_in_progress as $reference)
{{$reference->referee_first_name}} {{$reference->referee_last_name}}
Awaiting referee response
@svg('img/icons/lock-closed')
@endforeach @if (count($refs_in_progress) < 1) No reference awaiting approval @endif
@endif @if($refs_processed->count() > 0)

Processed

@foreach ($refs_processed as $reference)
{{$reference->referee_first_name}} {{$reference->referee_last_name}}
@if($reference->is_referee_unsuitable) Referee rejected @else Completed Expiring on {{$reference?->expiresOn()?->format('jS F Y')}} @endif
@svg('img/icons/lock-closed')
@endforeach @if (count($refs_processed) < 1) No reference approved yet

@endif
@endif @if($refs_past_count > 0) View all past references @endif
@endsection