@extends('admin.layouts.app') @section('title', 'Donations & Seva Ledger') @section('page-title', 'Donations & Seva Ledger') @section('content')

πŸ’› Donations & Seva Ledger

Itemized Seva tracking, 100% Financial Ledger Separation & 80G Tax Exemption receipts.

πŸ›‘οΈ FCRA INR Protected πŸ“„ 80G Tax Certified
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif {{-- ============ FINANCIAL KPI CARDS ============ --}}
πŸ’°
Total Seva Completed β‚Ή{{ number_format($stats['total_completed_amount'] ?? 0, 0) }} {{ number_format($statusCounts['all'] ?? 0) }} Total Records
🟒
Completed {{ number_format($statusCounts['completed'] ?? 0) }} Fully Reconciled
⏳
Pending Verification {{ number_format($statusCounts['pending'] ?? 0) }} Awaiting confirmation
πŸ›οΈ
Trust Corpus β‚Ή{{ number_format($stats['trust_corpus_amount'] ?? 0, 0) }} 80G Eligible Direct Trust
πŸ“œ
80G Receipts {{ number_format($stats['total_80g_receipts'] ?? 0) }} Tax Receipts Issued
{{-- ============ ITEMIZED DELIVERED SEVA SUMMARY ============ --}} @if(isset($topItems) && $topItems->isNotEmpty())
πŸ“¦ Delivered Itemized Seva Summary
@foreach($topItems as $item) {{ number_format($item->total_qty) }}x {{ $item->item_name }} (β‚Ή{{ number_format($item->total_subtotal, 0) }}) @endforeach
@endif {{-- ============ ALPINE ROOT & BULK MANAGER ============ --}}
{{-- ============ TOOLBAR ============ --}}
Reset
{{-- ============ FLOATING BULK BAR ============ --}}
Selected: donations
@csrf
{{-- ============ TABLE ============ --}}
@forelse($donations as $donation) @empty @endforelse
Donor Details Itemized Particulars Amount (INR) Financial Ledger 80G / FCRA Status Status Actions
{{ $donation->donor_name }} {{ $donation->donor_phone ?? '-' }} • {{ $donation->donor_email ?? '-' }} @if($donation->donor_pan) PAN: {{ strtoupper($donation->donor_pan) }} @endif
@if($donation->items->isNotEmpty())
@foreach($donation->items as $item)
{{ $item->quantity }}x {{ $item->item_name }} (β‚Ή{{ number_format($item->subtotal, 0) }})
@endforeach
@else {{ $donation->message ?? 'General Dham Seva' }} @endif
β‚Ή{{ number_format($donation->amount, 2) }}
{{ $donation->created_at->format('d M Y, h:i A') }}
@if($donation->ledger_type === 'trust') πŸ›οΈ Trust Corpus @else 🀝 Partner Campaign @endif
A/c: {{ $donation->destination_bank_account ?? 'Main Trust' }}
βœ“ Indian Citizen (INR) @if($donation->receipt_number) {{ $donation->receipt_number }} @elseif($donation->wants_80g) 80G Requested @endif
@csrf
{{-- 1. View Details --}} πŸ‘οΈ {{-- 2. 80G Receipt PDF Download --}} @if($donation->status === 'completed') πŸ“„ 80G @endif
πŸ’›

No Donation Records Found

No transactions match your current search or ledger filter.

Reset Filters
{{-- ============ PAGINATION ============ --}}
Showing {{ $donations->firstItem() ?? 0 }} to {{ $donations->lastItem() ?? 0 }} of {{ $donations->total() }} donations
{{ $donations->links() }}
@endsection