@extends('adminlte::page') @section('title', 'Dashboard') @section('content_header')

Dashboard

@stop @section('content')

Welcome {{ Auth::user()->name }}.

{{ \App\Models\Children::all()->count() }}

Total Registered

More info

{{ \App\Models\Children::where('approval_status', 'approved')->count() }}

Total Approved

More info

{{ \App\Models\Children::where('approval_status', 'rejected')->count() }}

Total Rejected

More info

{{ \App\Models\Country::all()->count() }}

Total Countries

More info

Number of Childrens per Country

@can('view reports')

{{ $todayCount }}

Cases Recorded Today

{{ $pendingFileSearchRequests }}

Open File Search Requests

{{ $pendingTracingRequests }}

Open Tracing Requests

Recorded Today, By Encoder

@forelse($recordedToday as $row) @empty @endforelse
EncoderCases Today
{{ $row['user']->name ?? 'Unknown' }} {{ $row['count'] }}
No cases recorded yet today.

Top Encoders — This Month

@forelse($topRecordersThisMonth as $i => $row) @empty @endforelse
#EncoderCases
{{ $i + 1 }} {{ $row->creator->name ?? 'Unknown' }} {{ $row->total }}
No cases recorded this month.

Top Encoders — All Time

@forelse($topRecordersAllTime as $i => $row) @empty @endforelse
#EncoderTotal Cases Recorded
{{ $i + 1 }} {{ $row->creator->name ?? 'Unknown' }} {{ $row->total }}
No cases recorded yet.
@endcan @stop @section('css') {{-- Add here extra stylesheets --}} {{-- --}} @stop @section('js') @stop