@extends('layouts.portal') @section('title', 'Consultant Dashboard') @section('heading', 'Supervisory Consultant Workspace') @section('content') @include('partials.welcome-card', ['intro' => 'Review, edit and approve the quarterly evaluations of the interns assigned to you.']) @include('partials.stats', ['icons' => ['ri-hospital-line','ri-user-heart-line','ri-inbox-unarchive-line']]) @include('partials.evaluation.queue', [ 'title' => 'Evaluations awaiting your review', 'reviewRoute' => 'consultant.evaluations.edit', 'empty' => 'No evaluations are waiting for your review.', ])

Supervision

My Interns

@forelse($interns as $a) @empty @endforelse
InternHospital / UnitSpecialtyEvaluations
{{ $a->intern->name }}P{{ $a->period }} · {{ $a->starts_on->format('j M Y') }} – {{ $a->endsOn()->format('j M Y') }} {{ $a->hospital->name }}{{ $a->unit }} {{ $a->specialty ?? '—' }}
@foreach($a->quarters() as $q) @php $e = $a->evaluations->firstWhere('quarter', $q); @endphp @if($e && $e->isSubmitted()) $e->isLocked(), 'bg-slmc text-white' => ! $e->isLocked()])>Q{{ $q }} @else Q{{ $q }} @endif @endforeach
No interns have been assigned to you yet.
@include('partials.hospital-table', ['eyebrow' => 'Your assignments', 'title' => 'Assigned Hospitals']) @endsection