{{-- Quick Stats Cards --}}
{{ __('Total Leave') }}

{{ $stats['totalLeave'] }}

{{ __('Days') }}
{{ __('Attendance') }}

{{ $stats['attendancePercentage'] }}%

{{ __('This Month') }}
{{ __('Pending Approvals') }}

{{ $stats['pendingApprovals'] }}

{{ __('Requests') }}
{{ __('Active Warnings') }}

{{ $stats['activeWarnings'] }}

{{ __('Disciplinary') }}
{{-- Employment Status Card --}}
{{ __('Employment Status') }}
  • {{ __('Status') }}: {{ ucfirst($employmentInfo['status']) }}
  • {{ __('Designation') }}: {{ $employmentInfo['designation'] }}
  • {{ __('Team') }}: {{ $employmentInfo['team'] }}
  • {{ __('Reporting To') }}: {{ $employmentInfo['reportingTo'] }}
  • {{ __('Joining Date') }}: {{ $employmentInfo['joiningDate'] }}
  • {{ __('Tenure') }}: {{ $employmentInfo['tenure'] }}
{{-- Recent Activity --}}
{{ __('Recent Activity') }}
{{ __('View All') }}
@if($recentActivity && $recentActivity->count() > 0)
    @foreach($recentActivity as $event)
  • {{ $event->event_type_display }}
    {{ $event->event_date->diffForHumans() }}
    @if($event->notes)

    {{ $event->notes }}

    @endif
  • @endforeach
@else

{{ __('No recent activity') }}

@endif