{{ __('Todolist') }}

{{ date('l, d M Y') }}

My Todo List

Manage your daily tasks and stay organized

Total Tasks

{{ $stats['total'] }}

Pending

{{ $stats['pending'] }}

Completed

{{ $stats['completed'] }}

@if (request()->hasAny(['status', 'priority'])) Clear Filters @endif
@if ($todos->count() > 0)
@foreach ($todos as $todo)
@csrf @method('PATCH')

{{ $todo->title }}

@if ($todo->description)

{{ $todo->description }}

@endif
{{ ucfirst($todo->priority) }} @if ($todo->due_date) {{ $todo->due_date->format('M d, Y') }} @endif
@csrf @method('DELETE')
@endforeach
{{ $todos->links() }}
@else

No todos

Get started by creating a new todo.

@endif
@push('scripts') @endpush