@include('admin.dash.layout.header')

{{$title}}

Here, you can see all the {{$title}} on stizee.

Send Notification @foreach($data as $d) @endforeach
FullName Email User type Status Wallet Merchant Rating Date
{{$d->name}} {{$d->email}} {{$d->is_merchant == 1 ? "Merchant" : "Customer"}} @php $status = $d->status ?? 'active'; // Default to active if no status field @endphp @if($status == 'active') Active @else Blocked @endif NGN {{number_format($d->wallet,2)}} @if($d->is_merchant == 1) @php $rating = isset($d->rating) ? $d->rating : ['average' => 0, 'count' => 0]; @endphp @if($rating['count'] > 0)
@for($i = 1; $i <= 5; $i++) @if($i <= floor($rating['average'])) @elseif($i <= $rating['average']) @else @endif @endfor
{{ number_format($rating['average'], 1) }} ({{ $rating['count'] }})
@else No ratings @endif @else N/A @endif
{{$d->created_at}}
@include('admin.dash.layout.footer')