@extends('layouts.admin') @section('title', 'Donations') @section('heading', 'Donations') @section('content')

Donations

Online and offline gifts. Totals below reflect the current filter.

Export CSV Record offline donation
@php $tabQuery = collect(request()->except(['status', 'page'])); @endphp
Reset
@if ($items->isEmpty())

No donations match your filters.

@else
@foreach ($items as $d) @endforeach
DateDonorAmountForTypeStatusReceiptActions
{{ ($d->paid_at ?? $d->created_at)->format('j M Y') }}
{{ $d->donor_name }}
{{ $d->donor_email }}
{{ \App\Support\Fmt::rupees($d->amount) }} {{ \Illuminate\Support\Str::limit($d->purpose, 40) }} {{ $d->frequency === 'monthly' ? 'Monthly' : 'One-time' }}@if ($d->gateway === 'offline') Offline@endif $d->status === 'paid', 'pill--off' => $d->status === 'refunded', 'pill--warn' => $d->status === 'pending', 'pill--bad' => $d->status === 'failed'])>{{ ucfirst($d->status) }} {{ $d->receipt_no ?: '—' }}
{{ $items->links() }} @endif @endsection