@extends('layouts.app') @section('content')

Monthly Progress

Manage Templates
Total Tasks
{{ $totalTasks }}
Completed Tasks
{{ $completedTasks }}
@php $progressColor = $progress >= 80 ? 'bg-green-500' : ($progress >= 50 ? 'bg-yellow-500' : 'bg-red-500'); @endphp
Overall Progress {{ $progress }}%
100% 80-99% 50-79% 20-49% 0-19%

{{ $startOfMonth->format('F Y') }}

{{ $startOfMonth->daysInMonth }} Days
Mon
Tue
Wed
Thu
Fri
Sa
Su
@php $firstDay = $startOfMonth->dayOfWeekIso; @endphp @for ($i = 1; $i < $firstDay; $i++)
@endfor @foreach ($calendar as $day) @php $isClickable = $day['total'] > 0; @endphp
{{ $day['date'] }}
@if($day['total'] > 0)
@if(isset($day['is_future']) && $day['is_future']) {{ $day['total'] }}Due @else {{ $day['percentage'] }}% @endif
@if(!(isset($day['is_future']) && $day['is_future'])) @else @endif
@else
@endif
@endforeach
@endsection @push('scripts') @endpush