{{ __('Donations') }} {{ __('List of all donations.') }} {{-- Filters Section --}}
{{-- Fields to Show/Hide --}}
Show/Hide Fields
@foreach ($fields as $field => $isVisible) @endforeach
{{-- Donations Table --}}
@if ($fields['beneficiary']) @endif @if ($fields['amount']) @endif @if ($fields['description']) @endif @if ($fields['category']) @endif @foreach ($sponsorDonations as $donation) @if ($fields['beneficiary']) @endif @if ($fields['amount']) @endif @if ($fields['description']) @endif @if ($fields['category']) @endif @endforeach
Sponsor Beneficiary Amount Description Category Date of Pay
{{ $donation->sponsor->name }} {{ $donation->beneficiary?->name ?? 'N/A' }} {{ number_format($donation->amount, 2) }} {{ $donation->description }}{{ $donation->donationCategory?->name }}{{ $donation->date_of_pay }}
{{-- Pagination --}}
{{ $sponsorDonations->links() }}
{{-- Print Button --}} {{-- Uncomment this section to add the print button --}} {{--
--}}