@php $active = $requests->whereNotIn('estatus', ['ENTREGADA','CANCELADA','RECHAZADA']); $delivered = $requests->where('estatus', 'ENTREGADA'); $pendingPayment = $requests->where('estatus_pago', 'PENDIENTE'); $statusLabels = ['SOLICITADA'=>'Recibida','EN_PROCESO'=>'En proceso','DEVUELTA'=>'Requiere corrección','RECHAZADA'=>'Rechazada','LISTA'=>'Lista para entrega','ENTREGADA'=>'Entregada','CANCELADA'=>'Cancelada']; $statusClasses = ['SOLICITADA'=>'bg-sky-100 text-sky-700','EN_PROCESO'=>'bg-indigo-100 text-indigo-700','DEVUELTA'=>'bg-amber-100 text-amber-700','RECHAZADA'=>'bg-rose-100 text-rose-700','LISTA'=>'bg-emerald-100 text-emerald-700','ENTREGADA'=>'bg-emerald-100 text-emerald-700','CANCELADA'=>'bg-slate-100 text-slate-600']; @endphp

Servicios escolares

Secretaría y trámites digitales

Solicita, paga, consulta el avance y recibe documentos oficiales sin acudir a ventanilla.

Iniciar un trámite
@if(session('success'))
✓ {{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif
@foreach([['Servicios disponibles',$catalog->count(),'Catálogo de esta sede','text-blue-600'],['En proceso',$active->count(),'Solicitudes activas','text-indigo-600'],['Pago pendiente',$pendingPayment->count(),'Solicitudes por cubrir','text-amber-600'],['Entregados',$delivered->count(),'Documentos recibidos','text-emerald-600']] as [$label,$value,$hint,$color])

{{ $label }}

{{ $value }}

{{ $hint }}

@endforeach

Mis solicitudes

Consulta la etapa, el pago y los documentos disponibles de cada trámite.

@forelse($requests as $s)

{{ $s->folio }}

{{ $s->tramite }}

{{ $statusLabels[$s->estatus] ?? str_replace('_',' ',$s->estatus) }}
Etapa actual{{ str_replace('_',' ',$s->etapa_actual) }}
Pago{{ str_replace('_',' ',$s->estatus_pago) }}
Ver seguimiento@if($s->entregable_id)Descargar documento@endif
@empty

Aún no tienes solicitudes

Elige un servicio del catálogo para iniciar tu primer trámite digital.

@if($catalog->isNotEmpty())Ver trámites disponibles@endif
@endforelse