{{-- admin/leaderboard.blade.php | Obrempong | Jcode --}} @extends('layouts.admin') @section('title','Leaderboard') @section('content')
| # | User | Level | Total Points | Current Points | Withdrawals | Joined |
|---|---|---|---|---|---|---|
| {{ match($i){0=>'🥇',1=>'🥈',2=>'🥉',default=>($i+1)} }} |
{{ $user->name }}
{{ $user->email }}
|
{{ $user->level }} | {{ number_format($user->total_earned_points) }} | {{ number_format($user->points) }} | GH₵{{ number_format($user->total_withdrawn,2) }} | {{ $user->created_at->format('d M Y') }} |