@extends('layouts/app')
@section('titulo', 'Lista Estudiantes')
@section('content')
@if (Auth::user()->tipo == 1)
@if (session('correcto'))
@endif
@if (session('incorrecto'))
@endif
LISTA DE ESTUDIANTES
|
ID
|
Dni
|
Nombre
|
Apellido
|
Correo
|
Dirección
|
Teléfono
|
Grado
|
{{--
Semestre
| --}}
{{--
Foto
| --}}
|
@foreach ($sql as $i)
| {{ $i->id }} |
{{ $i->dni }} |
{{ $i->name }} |
{{ $i->apellido }} |
{{ $i->email }} |
{{ $i->direccion }} |
{{ $i->telefono }} |
{{ $i->grado . ' ' . ' ' . $i->seccion }} |
{{-- {{ $i->semestres }} | --}}
{{--  }}) | --}}
|
@endforeach
@endif
@endsection