Agregar Horario
@php
$usuario = auth()->user();
$esCoordinador = $usuario->roles()
->whereRaw('LOWER(nombre) = ?', ['coordinador'])
->exists();
$esAdmin = $usuario->roles()
->whereRaw('LOWER(nombre) = ?', ['administrador'])
->exists();
@endphp
@if(!$esCoordinador || $esAdmin)
@endif
| Unidad Didáctica |
Periodo Académico | Docente |
Sección |
Turno |
Periodo Lectivo |
Plan de Estudio |
Hora Inicio |
Hora Fin |
Día |
Tipo Aula |
N° Aula |
Frecuencia |
Capacidad |
Acciones |
@foreach ($horarios as $horario)
| {{ $horario->curso->nombre ?? '-' }} |
{{ $horario->curso->semestre->nombre ?? '-' }} |
{{ $horario->docente ? ($horario->docente->nombre . ' ' . $horario->docente->apellido) : '-' }} |
{{ $horario->seccion->nombre ?? '-' }} |
{{ $horario->turno->nombre ?? '-' }} |
{{ $horario->periodo->nombre ?? '-' }} |
{{ $horario->planEstudio->nombre ?? '-' }} |
{{ $horario->focus_start ?? $horario->hora_inicio }} |
{{ $horario->focus_end ?? $horario->hora_fin }} |
{{ $horario->dia }} |
{{ $horario->tipo_aula }} |
{{ $horario->numero_aula ?? ($horario->aula?->nombre ?? '-') }} |
{{ $horario->frecuencia }} |
{{ $horario->capacidad }} |
|
@endforeach