@php $degreeLabels = ['BACH' => 'Bach.', 'LIC' => 'Lic.', 'ING' => 'Ing.', 'MG' => 'Mg.', 'DR' => 'Dr.']; @endphp

{{ $label }}

Agregar
@if ($type === 'teachers')
@endif
@if ($type === 'administrators') @else @endif @forelse ($records as $record) @if ($type === 'administrators') @else @endif @empty @endforelse
Foto Acciones
{{ $record->id }} @if ($record->reference_photo_path) Foto de {{ $record->displayName() }} @else @endif {{ $record->document_type->value }} {{ $record->document_number }} {{ $record->displayName() }}{{ $record->email }} @if ($record->academic_degree) {{ $degreeLabels[$record->academic_degree->value] }} @else — @endif @if ($record->academic_department) {{ $record->academic_department->label() }} @else — @endif @if ($record->teacher_type) {{ $record->teacher_type->label() }} @else — @endif @if ($record->active) ACTIVO @else INACTIVO @endif
@if ($type === 'administrators') @else @endif

Todavía no hay registros.

@if ($type === 'teachers') @endif
@if ($type === 'administrators') @if ($editingId)

La contraseña la define el propio administrador en su primer ingreso — usa el ícono en la tabla si necesita restablecerla.

@else

La contraseña inicial será su número de documento; se le pedirá cambiarla al ingresar por primera vez.

@endif @endif @php $photoRequired = $type === 'teachers'; $photoHasExisting = $existingPhoto && ! $removeExistingPhoto && ! $referencePhoto; @endphp
{{ ($referencePhoto || ($existingPhoto && ! $removeExistingPhoto)) ? 'Cambiar foto' : 'Subir foto' }} @if ($type === 'administrators' && ($referencePhoto || ($existingPhoto && ! $removeExistingPhoto))) Quitar @endif

JPG o PNG, máximo 2 MB. @if ($type === 'teachers') Es la foto que se compara contra las capturas del kiosko. @endif

No se pudo subir el archivo — puede ser muy pesado o el servidor tardó en responder. Intenta con otra foto.

@error('referencePhoto')

{{ $message }}

@enderror
@if ($type === 'teachers') {{-- Modal de gestión de huella. Controlado por Alpine (cliente): registrar, verificar y quitar. Habla con el agente local en https://127.0.0.1 y solo toca Livewire para guardar/quitar la plantilla. --}} @endif