@extends('layouts.app') @section('content')
Total Enquiries
Pending Review
{{ $analytics['total'] > 0 ? round(($analytics['pending'] / $analytics['total']) * 100, 1) : 0 }}% of total
Assigned
{{ $analytics['total'] > 0 ? round(($analytics['assigned'] / $analytics['total']) * 100, 1) : 0 }}% assigned
Approved
{{ $analytics['total'] > 0 ? round(($analytics['approved'] / $analytics['total']) * 100, 1) : 0 }}% success rate
Rejected
{{ $analytics['total'] > 0 ? round(($analytics['rejected'] / $analytics['total']) * 100, 1) : 0 }}% rejected
Overdue
Needs urgent attention
View detailed statistics for {{ $analyticsByRegion->count() }} regions
View detailed statistics for {{ $analyticsByDistrict->count() }} districts
View detailed type for all Enquiries
Try adjusting your filters or search criteria
TZS {{ number_format($childTableStats['loan_applications']['total_amount'] ?? 0) }}
TZS {{ number_format($childTableStats['payments']['total_amount'] ?? 0) }}
TZS {{ number_format($childTableStats['refunds']['total_amount'] ?? 0) }}
TZS {{ number_format($childTableStats['withdrawals']['total_amount'] ?? 0) }}
TZS {{ number_format($childTableStats['shares']['total_amount'] ?? 0) }}
Export will include current filtered data @if(request()->hasAny(['region_id', 'district_id', 'type', 'status', 'date_from', 'date_to', 'search'])) Filters Applied @endif
Please wait while we prepare your data