@extends('plantilla') @section('content')

Doctores del Consultorio de:
{{ $consultorio->consultorio }}

@foreach ($horarios as $hora) @foreach ($doctores as $doctor) @if ($hora->id_doctor == $doctor->id) @if ( $doctor->telefono != "") @else @endif @endif @endforeach @endforeach
Nombre y Apellido Email Telefono Horario
{{ $doctor->name }} {{ $doctor->email }} {{ $doctor->telefono }} No Disponible {{ $hora->horaInicio }} - {{ $hora->horaFin }}
@endsection