{{ $label }}

@if ($isCourse && $periodContext)

Grupos del periodo {{ $periodContext->name }}@if ($periodContext->active) activo@endif

@endif
@if ($isCourse)
@endif Agregar
@if ($isCourse && $periodContextId === null)

No hay un periodo académico activo.

@if ($periodOptions->isEmpty()) Crea y activa un periodo para ver cursos y configurar sus grupos. @else Selecciona un periodo académico arriba (por defecto el activo) para ver y configurar grupos. @endif

@else
@if ($isCourse)
@endif
@if ($isCourse) @endif @if ($isCampus) @endif @if ($isResolution) @endif @if ($isCourse) @endif @forelse ($records as $record) @if ($isCourse) @endif @if ($isCampus) @endif @if ($isResolution) @endif @if ($isCourse) @endif @empty @endforelse
Color Requisito Resolución Plan Grupos Acciones
{{ $record->id }}{{ $record->code }}{{ $record->name }} {{ $record->color->label() }} {{ $record->resolution_number ?? '—' }}{{ $record->type->label() }} @if ($record->cycle) {{ $record->cycle->name }} @else Sin ciclo @endif
Cr. {{ $record->credits }}
HT {{ $record->theory_hours }}
HP {{ $record->practice_hours }}
TH {{ $record->total_hours }}
{{ $record->prerequisite?->displayName() ?? '—' }} {{ $record->resolution?->resolution_number ?? $record->resolution?->name ?? '—' }} @if ($record->study_plan_path) PDF @else — @endif @php $periodGroupsByCampus = $record->courseAcademicPeriodGroups ->sortBy(fn ($row) => $row->classGroup?->id ?? 0) ->groupBy(fn ($row) => $row->campus?->id ?? 0); @endphp
@forelse ($periodGroupsByCampus as $rows) @php $campus = $rows->first()->campus; @endphp
{{ $campus ? str($campus->name)->afterLast(' ') : '—' }} @foreach ($rows as $row) {{ $row->classGroup?->abbreviation }} @endforeach
@empty Sin grupos @endforelse
@if ($record->active) ACTIVO @else INACTIVO @endif
@if ($isCourse) @endif

Todavía no hay registros.

@endif
@if ($isCourse)
@endif @if ($isCampus)
@foreach ($colorOptions as $option) @endforeach
@endif @if ($isResolution) @endif @if ($isCourse)
@if ($existingStudyPlan && ! $removeExistingStudyPlan && ! $studyPlan) Ver PDF actual en otra pestaña @endif @if ($studyPlan || ($existingStudyPlan && ! $removeExistingStudyPlan)) Quitar @endif
@error('studyPlan')

{{ $message }}

@enderror
@endif

Marca qué secciones (Único, A–E) tendrá este curso en el periodo y sede seleccionados — la cantidad de grupos puede ser distinta por sede (ej. 2 grupos en una sede, 1 solo en la otra, mismo curso y periodo). No puedes quitar un grupo si ya tiene docente asignado o registros de asistencia en esa sede.

    @foreach ($classGroups as $group) @php $occupied = $groupOccupancy->get($group->id); $locked = (bool) ($occupied['locked'] ?? false); $teacherName = $occupied['teacher'] ?? null; $reason = $occupied['reason'] ?? null; $checked = in_array($group->id, array_map('intval', $selectedGroupIds), true); @endphp
  • @endforeach
@error('selectedGroupIds')

{{ $message }}

@enderror