@extends('layouts.app', ['title' => 'Ver Resultado de Instrumentos', 'titleIcon' => asset('images/icons/Prueba_3.png')]) @section('content')
{{--

Niño/joven: {{$testResult->student->fullName}}

--}} @php $student = $testResult->student; @endphp

{{$student->fullName}} ({{$student->age}} años)


{{$testResult->purchase->name}}

@if($testResult->instrument_type == InstrumentTypes::POTENCIAL_APRENDIZAJE)

{{ InstrumentTypes::POTENCIAL_APRENDIZAJE }}

@endif @if($testResult->instrument_type == InstrumentTypes::CAMPO_TALENTO)

{{ InstrumentTypes::CAMPO_TALENTO }}

@endif

{{$student->identificationType->name}}. {{$student->identification}}

{{$student->grade ?? '-'}}

{{TestStatus::COMPLETED}}

{{$student->session ?? '-'}}

{{$student->modality ?? '-'}}

{{$testResult->created_at->format('d/m/Y')}}

@if($testResult->instrument_type == InstrumentTypes::POTENCIAL_APRENDIZAJE)

Resultado

{{$testResult->developmentLevel->name}}

@endif @if($testResult->instrument_type == InstrumentTypes::CAMPO_TALENTO)

Talento Principal

{{$testResult->firstTalent->name}}

Nivel: {{$testResult->developmentLevel[0]->name}}

Talento Secundario

{{$testResult->secondTalent->name}}

Nivel: {{$testResult->developmentLevel[1]->name}}

@endif
@if($testResult->instrument_type == InstrumentTypes::POTENCIAL_APRENDIZAJE)

{{$student->carer->fullName}}

{{$student->teacher->fullName}}

@endif
Volver
@endsection