@if (auth()->user()->tipo == 'DOCTOR')
@foreach ($consultorio as $item)
@if (auth()->user()->codConsultorio == $item->codConsultorio)
@endif
@endforeach
@else
@if ($searchText == -1)
@endif
@endif
@if ($searchText == -1)
@php($estado_visibilidad = auth()->user()->tipo == 'SECRETARIA' || auth()->user()->tipo == 'ADMINISTRADOR' ? 'block' : 'none')
@else
@foreach ($doctor as $item)
@if ($item->codUsuario == $searchText)
@endif
@endforeach
@endif
{{--
--}}