@extends('plantilla') @section('content')
@if ($doctor->sexo == 'Femenino')

Doctora : {{ $doctor->name }}

@else

Doctor : {{ $doctor->name }}

@endif

Horario:

@if ($horarios == null) @if (auth()->user()->rol == 'Doctor')
@csrf @method('post')
Desde:
Hasta:

@endif @else @foreach ($horarios as $hora) @if (auth()->user()->rol == 'Doctor')
@csrf @method('put')
Desde:
Hasta:

@elseif (auth()->user()->rol == 'Paciente')

{{ $hora->horaInicio }} - {{ $hora->horaFin }}

@endif @endforeach @endif
@endsection