| # | Donation Request | Donor Name | Member Information | Invoice No | Amount | Payment Type | Account Info | Transaction No | Status | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
@php
$donationRequest = $donation->donationRequest;
@endphp
🎯 Donation Request👤 Name:
{{ $donation->donationRequest ? $donation->donationRequest->name : '' }}
{{-- 📧 Email: {{ $donationRequest->email ?? 'N/A' }} --}}
📱 Mobile:
{{ $donation->donationRequest ? $donation->donationRequest->mobile : '' }}
{{-- 💰 Requested Amount: {{ number_format($donationRequest->amount, 2) }} --}}
📌 Status: {{ ucfirst($donation->donationRequest ? $donation->donationRequest->status : '') }}
|
{{ $donation->donor_name }} | @if ($donation->member) @if ($donation->member->member_id) Member ID:{{ $donation->member->member_id }}, @endif @if ($donation->member->cpr_number) CPR Number: {{ $donation->member->cpr_number }} @endif @else Not member @endif | {{ $donation->invoice_no }} | {{ number_format($donation->donation_amount, 2) }} | {{ ucfirst(str_replace('_', ' ', $donation->payment_type)) }} |
@if ($donation->account)
@if ($donation->account->gateway_type == 'Mobile Bank')
{{ $donation->account->company_name }} {{ $donation->account->mobile_number }} @elseif ($donation->account->gateway_type == 'Bank') {{ $donation->account->bank_name }} Acc: {{ $donation->account->account_number }} @endif @else N/A @endif |
{{ $donation->transaction_no ?? '-' }} | {{ ucfirst($donation->payment_status) }} | @if ($donation->payment_status == 'unpaid') @endif |
| No donation records found. | ||||||||||