@php $title = admin_trans('users_by_role'); $icon = 'shield'; @endphp @extends('admin.analytics.base') @section('analytics-content') @if($data->isEmpty()) @else @foreach($data as $item) {{ ucfirst($item->role) }} {{ number_format($item->total) }} @endforeach @endif @endsection