@extends('admin.layout.app') @section('title', __('front.donations')) @section('body')
@if (session('success')) @endif
@forelse($donations as $d) @empty @endforelse
# {{ __('front.donor') }} {{ __('front.phone') }} {{ __('front.amount') }} {{ __('front.date') }} {{ __('front.actions') }}
{{ $d->id }}

{{ $d->name ?? '—' }}

{{ $d->email ?? '—' }}

{{ $d->phone ?? '—' }} {{ $d->amount ?? '—' }} @if (isset($d->currency)) {{ $d->currency }} @endif {{ $d->created_at?->format('M d, Y') }}
{{ $d->created_at?->format('h:i A') }}
{{ __('front.view') }}
@csrf @method('DELETE')

{{ __('front.no_donations_found') }}

@if ($donations->hasPages())
{{ $donations->links('pagination::bootstrap-4') }}
@endif
@endsection