@extends('layouts.admin')
@section('title', 'Donations')
@section('heading', 'Donations')
@section('content')
Online and offline gifts. Totals below reflect the current filter.Donations
No donations match your filters.
| Date | Donor | Amount | For | Type | Status | Receipt | Actions |
|---|---|---|---|---|---|---|---|
| {{ ($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 ?: '—' }} |