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

Donors

People with a donor account. They are added automatically after their first paid donation.

@error('donor')@enderror @if ($donors->isEmpty())

@if ($search) No donor matched “{{ $search }}”. @else No donor accounts yet. @endif

@else
@foreach ($donors as $donor) @endforeach
DonorDonationsTotal givenMonthlyLast giftJoinedActions
{{ $donor->name }}@unless ($donor->is_active) Off@endunless
{{ $donor->email }}
{{ $donor->paid_count }} {{ \App\Support\Fmt::rupees((int) $donor->paid_total) }} @if ($donor->active_monthly)Active@else—@endif {{ $donor->last_paid_at ? $donor->last_paid_at->format('j M Y') : '—' }} {{ $donor->created_at->format('j M Y') }}
@if ($donor->is_active)
@csrf
@endif
{{ $donors->links() }} @endif @endsection