@extends('layouts.app') @section('title', 'Donate') @push('styles') @endpush @section('content') @php $gatewayIcons = [ 'paystack' => 'πŸ’³', 'flutterwave' => 'πŸ¦‹', 'mpesa' => 'πŸ“±', 'gcash' => 'πŸ’™', 'pix' => 'πŸ‡§πŸ‡·', 'telebirr' => 'πŸ‡ͺπŸ‡Ή', 'bank' => '🏦', 'cash' => 'πŸ’΅', 'cheque' => 'πŸ“', 'gpay' => 'πŸ”΅', 'upi' => '⚑', ]; @endphp

Give / Donate

Your generosity makes a difference. Every gift is appreciated.

{{-- ── STEP 1: Amount ──────────────────────────────────────── --}}

Select Amount

@foreach([100, 200, 300, 400, 500, 1000, 1500, 2000, 2500] as $preset) @endforeach

{{-- ── STEP 2: Type + Note ──────────────────────────────────── --}}
{{-- ── STEP 3: Payment Method ───────────────────────────────── --}} @if(count($payaccounts) > 0)

Payment Method

@foreach($payaccounts as $pa) @endforeach
{{-- M-Pesa phone --}}
{{-- Offline instructions --}}

Payment Instructions

@else
No payment methods configured for your church yet. Please contact the administrator.
@endif {{-- Amount preview --}}

You are donating

{{-- M-Pesa feedback --}}
{{-- Donate button --}} {{-- Hidden forms --}}
{{-- /card --}} {{-- ── HISTORY ──────────────────────────────────────────────────── --}} @if($donations->count() > 0)

My Donation History

@foreach($donations as $d)

{{ $d->category }}

{{ ($d->donated_at ?? $d->created_at)->format('d M Y') }} • {{ ucfirst($d->method) }} @if($d->note) • {{ Str::limit($d->note, 40) }} @endif

{{ $d->currency }} {{ number_format($d->amount, 2) }}

{{ ucfirst($d->status) }}
@endforeach
@endif
@endsection @push('scripts') @endpush