@extends('voyager::master') @section('page_header')

{{__("Platform statistics")}}

@stop @section('content')
@include('voyager::alerts') @include('voyager::dimmers')
@php $adminNotifications = [ 'id_checks' => \App\Model\UserVerify::where('status', 'pending')->count(), 'withdrawals' => \App\Model\Withdrawal::where('status', 'requested')->count(), 'deposits' => \App\Model\PaymentRequest::where('status', 'pending')->count(), ]; $hasNotifications = array_filter($adminNotifications, function($value) { return $value >= 1; }); $hasNotifications = !empty($hasNotifications); @endphp @if($hasNotifications) @endif @include('elements.admin.metrics')
@stop