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

Donations

@foreach($donations as $d)@endforeach
DateRefDonorTypeGiftFundStatus
{{ $d->created_at->format('Y-m-d') }}{{ $d->ref }}{{ $d->name }}
{{ $d->email }} {{ $d->phone }} {{ $d->country?->name }}
{{ $d->kind }}{{ $d->kind==='money'?money($d->amount,$d->currency):$d->equipment }}{{ $d->fund }}{{ $d->status }}@if($d->kind==='equipment' && $d->status!=='received')
@csrf
@endif
{{ $donations->links() }}@endsection