@php $plataforma = \App\Plataforma::find(1); @endphp Horario del Alumno {{ $alumno->nombre }} {{$alumno->apellidos}}
{{$plataforma->nombre}}

{{$plataforma->direccion}}, {{$plataforma->codigo}} {{$plataforma->estado}}
Tel: {{$plataforma->telefono}}
Fecha: {{ date("d/m/Y H:i") }}
Alumno: {{ $alumno->nombre }} {{ $alumno->apellidos }}

@foreach($dias as $dia) @endforeach @foreach($hora as $h) @if($h->tipo ==1) @endif @endforeach
{{$dia->diacorto}}
{{$h->hora}} @foreach($lunes as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach
@foreach($martes as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach
@foreach($miercoles as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach
@foreach($jueves as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach
@foreach($viernes as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach
@foreach($sabado as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach
@foreach($domingo as $m) @if($m->idHora== $h->id) @foreach($docente as $d) @if($d->id == $m->idDocente ) {{$d->nombre}} {{$d->apellidos}}
@endif @endforeach @foreach($materia as $mat) @if($mat->id == $m->idMateria ) {{$mat->nombre}} @endif @endforeach @php $nombre = \App\Grupo::where('idGrupo',$m->idGrupo)->first(); @endphp
{{$nombre->nombre}} @endif @endforeach