{{ \Illuminate\Support\Carbon::parse($fecha)->locale('es')->translatedFormat('l d-m-Y') }}
@if ($inscritoHorarioId) @php $horario = $horarios->firstWhere('id', $inscritoHorarioId); @endphp
@if ($persona->asistenciaPorHorario($horario->id)->asistencia)
Asistida
@endif @if ($persona->asistenciaPorHorario($horario->id)->asistencia === 0)
No Asistida
@endif
✅ {{ $horario?->taller?->nombre }}
{{ $horario?->taller?->inicio->format('H:i') }}
Cupos: {{ $horario?->taller?->cuposDisponibles($fecha) }}
@php $otros = $talleres->where('id', '!=', $horario?->taller?->id); @endphp @if ($otros->count())
Otros talleres disponibles
@foreach ($otros as $tallerdisponible)
{{ $tallerdisponible->nombre }}
{{ $tallerdisponible->inicio->format('H:i') }} • Cupos: {{ $tallerdisponible->cuposDisponibles($fecha) }}
@endforeach
@endif
@else
@forelse ($talleres as $taller)
{{ $taller->nombre }}
{{ $taller->inicio->format('H:i') }} • Cupos: {{ $taller->cuposDisponibles($fecha) }}
@if ($taller->cuposDisponibles($fecha)>0) @else @endif
@empty
Sin talleres disponibles
@endforelse
@endif