@extends('layouts.landing') @section('head') @include('layouts._partials.tablaStyle') @endsection @section('title',"Inicio") @section('content')
@hasrole('Promotor')
Prospectos
@endrole @hasrole('Control escolar')
Alumnos
@endrole @can('alumno.create') @endcan
@hasrole('Promotor')
@forelse ($alumnos as $alumno) @foreach ($alumno->alumnos as $prospect)
{{ $alumno->name }}
And some small print.
@endforeach @empty
Sin elementos

Agrega un alumno...
@endforelse
@livewire('data-prospecto')
@livewire('modal-prospecto') @endrole @hasrole('Control escolar') @forelse ($alumnos as $alumno) @empty @endforelse
Id Alumno Campus Status Opciones
{{ $alumno->id }} @foreach($alumno->alumnos as $user) {{ $user->name }} @endforeach @foreach($alumno->alumnos as $user) @forelse($user->plantelUsuarios as $plantel) {{ $plantel->name }} @empty Sin plantel @endforelse @endforeach @if ($alumno->status==2) @endif @if ($alumno->status==3) @endif @if ($alumno->status==4) @endif @if ($alumno->status==5) @endif @if ($alumno->status==6) @endif {{ $alumno->statusAlumno->name }} @can('alumno.edit') @endcan @can('alumno.destroy')
@csrf @method('DELETE')
@endcan
Sin alumnos.
@endrole
@endsection @section('scripts') @include('layouts._partials.tablaScript') @include('layouts._partials.delete') @endsection