@extends('layouts.admin') @section('title', 'User Statistics') @section('content')
Comprehensive user analytics and insights
No role data available.
@endifNo status data available.
@endif| Month | New Registrations | Percentage of Total | Growth |
|---|---|---|---|
| {{ \Carbon\Carbon::createFromFormat('Y-m', $month)->format('F Y') }} | {{ $count }} | {{ $stats['total_users'] > 0 ? round(($count / $stats['total_users']) * 100, 1) : 0 }}% | @if($previousCount > 0) @php $growth = (($count - $previousCount) / $previousCount) * 100; $growthColor = $growth >= 0 ? 'success' : 'danger'; $growthIcon = $growth >= 0 ? 'arrow-up' : 'arrow-down'; @endphp {{ abs(round($growth, 1)) }}% @else - @endif |
No registration trends data available.