@extends('layouts.admin') @section('title', 'Dashboard') @section('content')
@php $summary = [ [ 'label' => 'Athletes', 'count' => $members->athletes_all, 'today' => $members->athletes_today, 'icon' => 'fa-person-running', 'color' => 'primary' ], [ 'label' => 'Coach', 'count' => $members->coach_all, 'today' => $members->coach_today, 'icon' => 'fa-user-graduate', 'color' => 'info' ], [ 'label' => 'Referee', 'count' => $members->referee_all, 'today' => $members->referee_today, 'icon' => 'fa-award', 'color' => 'success' ], [ 'label' => 'Manager', 'count' => $members->manager_all, 'today' => $members->manager_today, 'icon' => 'fa-user-tie', 'color' => 'secondary', ], [ 'label' => 'Official', 'count' => $members->official_all, 'today' => $members->official_today, 'icon' => 'fa-clipboard-check', 'color' => 'warning' ], [ 'label' => 'Doctor', 'count' => $members->doctor_all, 'today' => $members->doctor_today, 'icon' => 'fa-user-md', 'color' => 'danger' ], ]; @endphp @foreach($summary as $card)
{{ $card['label'] }}
{{ $card['count'] }}
{{ $card['today'] }} newly added today.
@endforeach
Pending top 10 applications for approval All-Applications
# Application ID Name Profile State District Action
Profile Ratio
Total Profiles
@endsection @push('scripts') @endpush @push('scripts') @endpush