@extends('layouts.app') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @section('page-subtitle', 'Overview of your company operations') @section('content') {{-- Stats Row --}}
{{ $stats['total_employees'] }}
Total Employees
{{ $stats['present_today'] }}
Present Today
{{ $stats['pending_leaves'] }}
Pending Leaves
{{ $stats['active_notices'] }}
Active Notices
{{ $stats['pending_exits'] }}
Active Exits
{{ $stats['compliance_score'] }}%
Compliance Score
{{-- Recent Activity --}}

Recent Activity

@if($recentActivity->count() > 0)
@foreach($recentActivity as $activity)

{{ $activity->description }}

{{ $activity->user?->name ?? 'System' }} · {{ $activity->created_at->diffForHumans() }}

@endforeach
@else

No activity recorded yet

@endif
{{-- Quick Actions --}}

Quick Actions

{{-- Notices & Birthday Widgets --}}
@includeIf('notices::_notices-widget') @includeIf('notices::_birthday-widget')
@endsection