@php
$total = App\User::whereHas('roles', function($q) { $q->where('name', 'rakyat')->orWhere('name', 'organisasi'); })->get();
$sah = App\User::where('email_verified_at', '!=', NULL)
->whereHas('roles', function($q) { $q->where('name', 'rakyat')->orWhere('name', 'organisasi'); })->get();
$tidak_sah = App\User::where('email_verified_at', '=', NULL)
->whereHas('roles', function($q) { $q->where('name', 'rakyat')->orWhere('name', 'organisasi'); })->get();
@endphp
Jumlah Pendaftaran
{{ number_format(count($total)) }}
Pendaftaran Sah
{{ number_format(count($sah)) }}
Pendaftaran Tidak Sah
{{ number_format(count($tidak_sah)) }}