@extends('layouts.portal') @section('title', 'Admin') @section('page-title', __('Admin Dashboard')) @section('sidebar') @include('admin.partials.sidebar') @endsection @section('content') @if(($stats['pending_employers'] ?? 0) > 0)
{{ $stats['pending_employers'] }} {{ __('employer registration(s) awaiting approval.') }} {{ __('Review pending') }}
@endif
@foreach($stats as $label => $value)

{{ str_replace('_', ' ', $label) }}

{{ number_format($value) }}

@endforeach

{{ __('Recent Jobs') }}

@foreach($recentJobs as $job)
{{ $job->title }} {{ $job->status->label() }}
@endforeach

{{ __('Recent Applications') }}

@foreach($recentApplications as $app)
{{ $app->full_name }} {{ $app->job->title }}
@endforeach
@endsection