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

{{ $appointments->count() }}

Pendentes today

{{ $confirmed }}

Marcados event_available

{{ $canceled }}

A Confirmar message

{{ $canceled }}

Cancelados canceled
Agendamentos Pendentes
@foreach ($appointments as $appointment) @endforeach
Paciente Médico Data/Horário Confirmar
{{ $appointment->patient->name }} {{ $appointment->doctor->name }} {{ date('d/m/Y H:i', strtotime($appointment->start_date)) }}
Agendamentos Cancelados
@foreach ($appointments as $appointment) @endforeach
Paciente Médico Data/Horário
{{ $appointment->patient->name }} {{ $appointment->doctor->name }} {{ date('d/m/Y H:i', strtotime($appointment->start_date)) }}
@endsection