@extends('layouts.app') @section('title', '| Dashboard') @section('sidebar_dashboard', 'active') @section('content')

Próximo

{{ $nextDate }} today

{{ $confirmed }}

Marcados event_available

{{ $ended }}

Terminados schedule
Próximos Atendimentos
@if ($appointments->isNotEmpty())
@foreach ($appointments as $appointment) @endforeach
{{ $user->type === 'patient' ? 'Médico' : 'Paciente' }} Data Status
doctor-image
{{ $user->type === 'patient' ? $appointment->doctor->name : $appointment->patient->name }}
{{ $appointment->start_date->format('d/m H:i') }}
{{ $appointment->present()->status }}
@else

Sem agendamentos

@endif
Últimas Consultas
@if ($endedAppointments->isNotEmpty())
@foreach ($endedAppointments as $endedAppointment) @endforeach
{{ $user->type === 'patient' ? 'Médico' : 'Paciente' }}
doctor-image
{{ $user->type === 'patient' ? $endedAppointment->doctor->name : $endedAppointment->patient->name }}
@else

Sem consultas

@endif @if ($user->type === 'patient') Agendar Consulta @endif
@endsection