URA - CRM SYSTEM
Makao Makuu: Dar es Salaam | Generated on {{ date('d F Y, H:i:s') }}
REPORT GENERATED BY: {{ strtoupper($currentUser->name) }} ({{ $currentUser->email }})
USER ROLE: {{ strtoupper($currentUser->getRoleNames()->first() ?? 'N/A') }}
REPORT DATE: {{ strtoupper(date('d F Y, H:i:s')) }}
@if($type || $status || $search || $dateFrom || $dateTo)FILTERS APPLIED: @if($type) TYPE: {{ strtoupper(str_replace('_', ' ', $type)) }} |@endif @if($status) STATUS: {{ strtoupper(str_replace('_', ' ', $status)) }} |@endif @if($search) SEARCH: {{ strtoupper($search) }} |@endif @if($dateFrom) FROM: {{ strtoupper(\Carbon\Carbon::parse($dateFrom)->format('d M Y')) }} |@endif @if($dateTo) TO: {{ strtoupper(\Carbon\Carbon::parse($dateTo)->format('d M Y')) }}@endif
@endifTotal Enquiries
Pending
Assigned
Approved
Overdue
Total Records: {{ number_format($enquiries->count()) }} @if($type) | Type: {{ strtoupper(str_replace('_', ' ', $type)) }} @endif
| # | DATE | CHECK NO | MEMBER | TYPE | REGION | DISTRICT | REGISTERED BY | FORCE NO | STATUS |
|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $enquiry->created_at->format('d/m/Y') }} | {{ strtoupper($enquiry->check_number) }} | {{ strtoupper($enquiry->full_name ?? 'N/A') }} | {{ strtoupper(str_replace('_', ' ', $enquiry->type)) }} | {{ strtoupper($enquiry->region->name ?? 'N/A') }} | {{ strtoupper($enquiry->district->name ?? 'N/A') }} | {{ $enquiry->registeredBy ? strtoupper($enquiry->registeredBy->name) : 'N/A' }} | {{ strtoupper($enquiry->force_no ?? 'N/A') }} | {{ strtoupper($enquiry->status) }} |
| NO ENQUIRIES FOUND | |||||||||