URA - CRM SYSTEM
Makao Makuu: Dar es Salaam | Generated on {{ now()->format('d F Y, H:i:s') }}
REPORT GENERATED BY: {{ strtoupper(auth()->user()->name) }} ({{ auth()->user()->email }})
GENERATED ON: {{ strtoupper(now()->format('d F Y, H:i:s')) }}
REPORT ID: USR-{{ $user->id }}-{{ now()->format('YmdHis') }}
Total Enquiries
Enquiry Types
Pending
Approved
| {{ strtoupper($type['type']) }} {{ $type['count'] }} |
| {{ strtoupper($status['status']) }} {{ $status['count'] }} |
TOTAL RECORDS: {{ number_format($allEnquiries->count()) }} | LAST UPDATED: {{ $lastEnquiry ? strtoupper($lastEnquiry->created_at->format('d F Y')) : 'N/A' }}
| # | Date | Check No | Full Name | Type | Region | District | 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') }} | {{ strtoupper($enquiry->status) }} |
| No enquiries found for this user | |||||||