@extends('layouts.app') @section('title', 'Agenda') @section('page-title', 'Agenda') @section('content')

{{ $statistics['total'] }}

Total de Eventos

{{ $statistics['pending'] }}

Pendentes

{{ $statistics['overdue'] }}

Em Atraso

{{ $statistics['completed'] }}

Concluídos

@if($schedules->count() > 0)
@foreach($schedules as $schedule)
{{ $schedule->title }} @if($schedule->is_overdue) Em Atraso @endif

{{ $schedule->description }}

{{ $schedule->formatted_date }} @if($schedule->location) | {{ $schedule->location }} @endif
{{ $schedule->priority_label }} {{ $schedule->type_label }}
@if($schedule->status === 'pending') @endif
@endforeach
{{ $schedules->links() }}
@else
Nenhum evento encontrado

Crie seu primeiro evento para começar a organizar sua agenda.

Criar Evento
@endif
Próximos Eventos
@if($upcoming->count() > 0) @foreach($upcoming as $event)
{{ $event->title }}
{{ $event->formatted_date }}
{{ $event->priority_label }}
@endforeach Ver Todos @else

Nenhum evento próximo

@endif
@if($overdue->count() > 0)
Em Atraso
@foreach($overdue as $event)
{{ $event->title }}
{{ $event->formatted_date }}
@endforeach
@endif
@endsection @push('scripts') @endpush