@if($role === 'manager')
{{ $agents->totalschools }}
Schools
{{ $agents->pendingschoolinvoices }}
Pending
{{ $agents->expiredschools }}
Expired
@else
{{ $agents->totalquestions }}
Questions
{{ $agents->pendingquestions }}
Pending
{{ $agents->rejectedquestions }}
Rejected
@endif
@if($agents->image)
 }})
@else
@php
$words = explode(' ', $agents->name);
$initials = strtoupper(substr($words[0],0,1).(isset($words[1]) ? substr($words[1],0,1) : ''));
@endphp
{{ $initials }}
@endif
{{ $agents->email }}
{{ $agents->cntctnum }}