@extends('admin.layouts.app') @section('title','Beneficiary Report') @section('breadcrumb') / Reports / Beneficiaries @endsection @section('content')
Clear
Total Beneficiaries
{{ $summary['total'] }}
Total Assistance
₹{{ number_format($summary['total_assistance'],2) }}
Male
{{ $summary['by_gender']['male'] ?? 0 }}
Female
{{ $summary['by_gender']['female'] ?? 0 }}
Beneficiary Records
{{ $beneficiaries->count() }} records
@forelse($beneficiaries as $b) @empty @endforelse @if($beneficiaries->count()) @endif
IDNameMobileGenderCategoryProjectAssistance TotalStatus
{{ $b->beneficiary_id }} {{ $b->name }} {{ $b->mobile ?? '—' }} {{ ucfirst($b->gender ?? '—') }} {{ $b->category ?? '—' }} {{ $b->project->project_title ?? '—' }} ₹{{ number_format($b->total_assistance,2) }} {{ ucfirst($b->status) }}
No beneficiaries found
TOTAL₹{{ number_format($summary['total_assistance'],2) }}
@endsection @push('scripts') @endpush