@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 @if(!checkMysqlndForPDO() || !checkForMysqlND())
{{__("Warning!")}}
{{__("Your PHP's pdo_mysql extension is not using mysqlnd driver. ")}} {{__('This might cause different UI related issues.')}}
{{__("Please contact your hosting provider and check if they can enable mysqlnd for pdo_mysql as default driver. Alternatively, you can check if the other PHP versions act the same. ")}}
  • {{__("Mysqlnd loaded:")}} {{checkForMysqlND() ? __('True') : __('False')}}
  • {{__("Mysqlnd for PDO:")}} {{checkMysqlndForPDO() ? __('True') : __('False')}}
@endif @include('elements.admin.metrics')
@stop