@extends('layouts.portal', ['title' => 'Realizar Instrumento']) @section('content')
@if($partaker->pot_source_id == SourcesIds::ESTUDIANTE)

Antes de inciar, por favor revise la siguiente guía. Cuando termine de leerla, regrese a esta pestaña.

Guía

@if($partaker->age < Constants::MINIMUM_AGE_POTENCIAL_APRENDIZAJE && $partaker->age < Constants::MINIMUM_AGE_CAMPO_TALENTO)

Usted no tiene procesos asignados. Por favor, comuníquese con quien lo(a) invitó a participar.

@else @if($partaker->ownPotTest->status != TestStatus::COMPLETED) @php $test = $partaker->ownPotTest; @endphp

{{InstrumentTypes::POTENCIAL_APRENDIZAJE}}

Realizar antes de: {{$test->pinExpirationDate->format('d/m/Y')}}

@if($test->status == TestStatus::TO_DO) Iniciar @elseif($test->status == TestStatus::TO_COMPLETE) Continuar @endif
@else @php $test = $partaker->nextTalTestToDo; @endphp @if(!$test)

Se han realizado todos los procesos asignados.

¡Gracias por participar!

Salir
@else

{{InstrumentTypes::CAMPO_TALENTO}}

Realizar antes de: {{$test->pinExpirationDate->format('d/m/Y')}}

@if($partaker->talTestStatus == TestStatus::TO_DO) Iniciar @elseif($partaker->talTestStatus == TestStatus::TO_COMPLETE) Continuar @endif
@endif @endif @endif @else

Exploración del potencial de aprehendizaje

Antes de inciar, por favor revise la siguiente guía. Cuando termine de leerla, regrese a esta pestaña.

@if($partaker->pot_source_id == SourcesIds::DOCENTE)

Guía

@else

Guía

@endif

Por favor, presione el botón Iniciar para realizar la(s) actividad(es) indicada(s).

@foreach($tests as $test) @continue($test->tal_instrument_id) @endforeach
# Actividad Niño/joven Vencimiento Estado
{{$loop->iteration}} {{$test->instrument->name}} {{$test->student->fullName}} {{$test->pinExpirationDate->format('d/m/Y')}} @php switch($test->status) { case TestStatus::TO_COMPLETE: $testStatusColor = 'info'; break; case TestStatus::COMPLETED: $testStatusColor = 'success'; break; default: $testStatusColor = 'primary'; } @endphp {{$test->status}} @if($test->status != TestStatus::COMPLETED) @if($test->status == TestStatus::TO_DO) Iniciar @elseif($test->status == TestStatus::TO_COMPLETE) Continuar @endif @endif
@endif
@endsection