{{ __('Dashboard') }}
@php $now = now(); $startOfMonth = $now->copy()->startOfMonth(); $endOfMonth = $now->copy()->endOfMonth(); $startWeekday = (int) $startOfMonth->dayOfWeekIso; // 1 (Mon) - 7 (Sun) $daysInMonth = $endOfMonth->day; $calendarCells = []; for ($i = 1; $i < $startWeekday; $i++) { $calendarCells[] = null; } for ($day = 1; $day <= $daysInMonth; $day++) { $calendarCells[] = $day; } while (count($calendarCells) % 7 !== 0) { $calendarCells[] = null; } $weekdays = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']; @endphp
{{-- Tasks widget (top-left) --}}
    @foreach([ ['label' => 'Review today\'s leads', 'badge' => 'Today'], ['label' => 'Follow up on test drives', 'badge' => 'Today'], ['label' => 'Prepare tomorrow\'s showroom', 'badge' => 'Tomorrow'], ['label' => 'Update pipeline notes', 'badge' => 'Tomorrow'], ['label' => 'Check outstanding valuations', 'badge' => 'Fri'], ['label' => 'Plan weekly team huddle', 'badge' => 'Mon'], ] as $task)
  • {{ $task['label'] }}
    {{ $task['badge'] }}
  • @endforeach
View all tasks
{{-- Notifications widget (top-right) --}}
    @php $notifications = [ ['type' => 'info', 'message' => 'New lead assigned to you.', 'time' => '5m ago'], ['type' => 'warning', 'message' => '2 valuations are approaching due date.', 'time' => '24m ago'], ['type' => 'info', 'message' => 'Team meeting scheduled for tomorrow.', 'time' => '1h ago'], ['type' => 'info', 'message' => 'Stock update completed.', 'time' => '3h ago'], ['type' => 'warning', 'message' => 'One deal file still pending documents.', 'time' => 'Today'], ]; @endphp @foreach($notifications as $notification) @php $isWarning = $notification['type'] === 'warning'; $dotClasses = $isWarning ? 'bg-amber-400' : 'bg-blue-400'; @endphp
  • {{ $notification['message'] }}

    {{ $notification['time'] }}
  • @endforeach
{{-- Calendar widget (bottom-left) --}}
@foreach($weekdays as $dayLabel)
{{ $dayLabel }}
@endforeach
@foreach($calendarCells as $day) @if($day === null)
@else @endif @endforeach

Upcoming

  • Showroom huddle — Tomorrow 08:30
  • Weekly sales review — Fri 16:00
{{-- Quick Notes widget (bottom-right) --}}

This will become notes & reminders in Sprint 2.